[macruby-changes] [2364] MacRuby/trunk/class.c

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 24 20:38:25 PDT 2009


Revision: 2364
          http://trac.macosforge.org/projects/ruby/changeset/2364
Author:   lsansonetti at apple.com
Date:     2009-08-24 20:38:21 -0700 (Mon, 24 Aug 2009)
Log Message:
-----------
fix for <rdar://problem/7154963> NSNumber objects in NSDictionaries don't get written to disk properly.

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

Modified: MacRuby/trunk/class.c
===================================================================
--- MacRuby/trunk/class.c	2009-08-25 02:35:45 UTC (rev 2363)
+++ MacRuby/trunk/class.c	2009-08-25 03:38:21 UTC (rev 2364)
@@ -93,7 +93,7 @@
 static void *
 rb_obj_imp_description(void *rcv, SEL sel)
 {
-    return (void *)rb_vm_call((VALUE)rcv, selToS, 0, NULL, false);
+    return (void *)rb_vm_call(OC2RB(rcv), selToS, 0, NULL, false);
 }
 
 static VALUE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090824/a0d8dcd8/attachment.html>


More information about the macruby-changes mailing list