diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/objspace/object_tracing.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue Jun 18 20:39:04 2013 Zachary Scott <zachary@zacharyscott.net> + + * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537] + Tue Jun 18 20:29:47 2013 Zachary Scott <zachary@zacharyscott.net> * 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); |