mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use stderr for debug prints in DEBUG(); fix #3584
This commit is contained in:
@@ -701,7 +701,7 @@ mrb_gc_mark(mrb_state *mrb, struct RBasic *obj)
|
||||
static void
|
||||
obj_free(mrb_state *mrb, struct RBasic *obj, int end)
|
||||
{
|
||||
DEBUG(printf("obj_free(%p,tt=%d)\n",obj,obj->tt));
|
||||
DEBUG(fprintf(stderr, "obj_free(%p,tt=%d)\n",obj,obj->tt));
|
||||
switch (obj->tt) {
|
||||
/* immediate - no mark */
|
||||
case MRB_TT_TRUE:
|
||||
|
||||
Reference in New Issue
Block a user