ruby-changes:29330
From: zzak <ko1@a...>
Date: Tue, 18 Jun 2013 20:41:45 +0900 (JST)
Subject: [ruby-changes:29330] zzak:r41382 (trunk): * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537]
zzak 2013-06-18 20:41:28 +0900 (Tue, 18 Jun 2013) New Revision: 41382 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41382 Log: * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537] Modified files: trunk/ChangeLog trunk/ext/objspace/object_tracing.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41381) +++ ChangeLog (revision 41382) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 18 20:39:04 2013 Zachary Scott <zachary@z...> + + * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537] + Tue Jun 18 20:29:47 2013 Zachary Scott <zachary@z...> * ext/.document: add object_tracing.c to document file Index: ext/objspace/object_tracing.c =================================================================== --- ext/objspace/object_tracing.c (revision 41381) +++ ext/objspace/object_tracing.c (revision 41382) @@ -238,6 +238,10 @@ allocation_generation(VALUE objspace, VA https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L238 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/