summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/objspace/object_tracing.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ac7a1a3fc6..c4676d2a632 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 f10b0718996..b30862999e8 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);