Supress using printf directly for debug purpose. #345

Closed
monaka opened this Issue Jul 6, 2012 · 2 comments

2 participants

@monaka

For example in string.c 866f797

printf("Integer");
printf("Float()\n");

It seems they are just for debug purpose. I think mruby core should not occupy stdio as it may be used by applications with libmruby.

There are some similar printf in mainline.

@matz matz added a commit that closed this issue Jul 6, 2012
@matz matz remove debug printf; close #345 4406a08
@matz matz closed this in 4406a08 Jul 6, 2012
@monaka

In range_init() also.

@monaka

And also in OP_DEBUG in vm.c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment