[macruby-changes] [2688] MacRuby/trunk/variable.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 29 23:54:52 PDT 2009


Revision: 2688
          http://trac.macosforge.org/projects/ruby/changeset/2688
Author:   lsansonetti at apple.com
Date:     2009-09-29 23:54:51 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
use a gc root instead

Modified Paths:
--------------
    MacRuby/trunk/variable.c

Modified: MacRuby/trunk/variable.c
===================================================================
--- MacRuby/trunk/variable.c	2009-09-30 06:54:21 UTC (rev 2687)
+++ MacRuby/trunk/variable.c	2009-09-30 06:54:51 UTC (rev 2688)
@@ -534,7 +534,7 @@
     gvar->marker = var_marker;
 
     if (var != NULL) {
-	GC_RETAIN(*var);
+	GC_ROOT(var);
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090929/196b42a4/attachment.html>


More information about the macruby-changes mailing list