summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-18 11:41:28 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-18 11:41:28 +0000
commitb46df185b2f793713a442de4161ce5751eedd17a (patch)
tree6c6c2540488252e5f7ada0291862007084c0683f
parent0ec216e803ab5f1c2b39e8dc7ef512a59d71e26b (diff)
* ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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);