diff --git a/ChangeLog b/ChangeLog index 8ac7a1a3fc..c4676d2a63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 18 20:39:04 2013 Zachary Scott + + * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537] + Tue Jun 18 20:29:47 2013 Zachary Scott * ext/.document: add object_tracing.c to document file diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c index f10b071899..b30862999e 100644 --- a/ext/objspace/object_tracing.c +++ b/ext/objspace/object_tracing.c @@ -238,6 +238,10 @@ allocation_generation(VALUE objspace, VALUE obj) void Init_object_tracing(VALUE rb_mObjSpace) { +#if 0 + rb_mObjSpace = rb_define_module("ObjectSpace"); /* let rdoc know */ +#endif + rb_define_module_function(rb_mObjSpace, "trace_object_allocations", trace_object_allocations, 0); rb_define_module_function(rb_mObjSpace, "allocation_sourcefile", allocation_sourcefile, 1); rb_define_module_function(rb_mObjSpace, "allocation_sourceline", allocation_sourceline, 1);