[macruby-changes] [4825] MacRuby/trunk/gc.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 25 14:18:02 PDT 2010
Revision: 4825
http://trac.macosforge.org/projects/ruby/changeset/4825
Author: lsansonetti at apple.com
Date: 2010-10-25 14:18:00 -0700 (Mon, 25 Oct 2010)
Log Message:
-----------
add rb_gc_register_address() MRI API
Modified Paths:
--------------
MacRuby/trunk/gc.c
Modified: MacRuby/trunk/gc.c
===================================================================
--- MacRuby/trunk/gc.c 2010-10-25 21:14:07 UTC (rev 4824)
+++ MacRuby/trunk/gc.c 2010-10-25 21:18:00 UTC (rev 4825)
@@ -1050,3 +1050,9 @@
{
auto_zone_add_root(__auto_zone, (void *)slot, *(void **)slot);
}
+
+void
+rb_gc_register_address(VALUE *slot)
+{
+ rb_global_variable(slot);
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101025/5ac105fd/attachment.html>
More information about the macruby-changes
mailing list