[macruby-changes] [4139] MacRuby/trunk/kernel.c
source_changes at macosforge.org
source_changes at macosforge.org
Sun May 23 22:12:14 PDT 2010
Revision: 4139
http://trac.macosforge.org/projects/ruby/changeset/4139
Author: lsansonetti at apple.com
Date: 2010-05-23 22:12:10 -0700 (Sun, 23 May 2010)
Log Message:
-----------
don't use 'id' type since it's strangely defined on 10.6
Modified Paths:
--------------
MacRuby/trunk/kernel.c
Modified: MacRuby/trunk/kernel.c
===================================================================
--- MacRuby/trunk/kernel.c 2010-05-24 04:49:17 UTC (rev 4138)
+++ MacRuby/trunk/kernel.c 2010-05-24 05:12:10 UTC (rev 4139)
@@ -449,7 +449,7 @@
}
inline VALUE
-vm_ocval_to_rval(id ocval)
+vm_ocval_to_rval(void *ocval)
{
return OC2RB(ocval);
}
@@ -539,7 +539,7 @@
}
inline void
-vm_rval_to_ocval(VALUE rval, id *ocval)
+vm_rval_to_ocval(VALUE rval, void **ocval)
{
*ocval = rval == Qnil ? NULL : RB2OC(rval);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100523/46d3ceeb/attachment.html>
More information about the macruby-changes
mailing list