Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git i/gc.c w/gc.c
index e65d0ec..f0fdd71 100644
--- i/gc.c
+++ w/gc.c
@@ -616,7 +616,7 @@ static VALUE
gc_profile_enable_get(VALUE self)
{
rb_objspace_t *objspace = &rb_objspace;
- return objspace->profile.run;
+ return objspace->profile.run ? Qtrue : Qfalse;
}
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.