1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
zzak 2013-06-18 11:41:28 +00:00
parent 0ec216e803
commit b46df185b2
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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);