[macruby-changes] [338] MacRuby/trunk/objc.m
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jul 9 11:25:02 PDT 2008
Revision: 338
http://trac.macosforge.org/projects/ruby/changeset/338
Author: lsansonetti at apple.com
Date: 2008-07-09 11:25:01 -0700 (Wed, 09 Jul 2008)
Log Message:
-----------
fix for #97
Modified Paths:
--------------
MacRuby/trunk/objc.m
Modified: MacRuby/trunk/objc.m
===================================================================
--- MacRuby/trunk/objc.m 2008-07-09 05:27:30 UTC (rev 337)
+++ MacRuby/trunk/objc.m 2008-07-09 18:25:01 UTC (rev 338)
@@ -490,6 +490,11 @@
{
const char *cstr;
+ if (NIL_P(rval)) {
+ *(SEL *)ocval = NULL;
+ return true;
+ }
+
switch (TYPE(rval)) {
case T_STRING:
cstr = StringValuePtr(rval);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080709/30c2a143/attachment-0001.html
More information about the macruby-changes
mailing list