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

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 25 14:21:10 PDT 2010


Revision: 4826
          http://trac.macosforge.org/projects/ruby/changeset/4826
Author:   lsansonetti at apple.com
Date:     2010-10-25 14:21:08 -0700 (Mon, 25 Oct 2010)
Log Message:
-----------
let's not forget to retype rb_obj_is_native()

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

Modified: MacRuby/trunk/class.c
===================================================================
--- MacRuby/trunk/class.c	2010-10-25 21:18:00 UTC (rev 4825)
+++ MacRuby/trunk/class.c	2010-10-25 21:21:08 UTC (rev 4826)
@@ -1339,7 +1339,9 @@
     return BUILTIN_TYPE(obj);
 }
 
-bool
+// Note: not returning 'bool' because the function is exported in ruby.h
+// and MRI does not include stdbool.
+int
 rb_obj_is_native(VALUE obj)
 {
     Class k = *(Class *)obj;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101025/14d1a5cc/attachment.html>


More information about the macruby-changes mailing list