[macruby-changes] [2159] MacRuby/branches/experimental/string.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 3 10:34:26 PDT 2009
Revision: 2159
http://trac.macosforge.org/projects/ruby/changeset/2159
Author: pthomson at apple.com
Date: 2009-08-03 10:34:25 -0700 (Mon, 03 Aug 2009)
Log Message:
-----------
Fixed a method signature that was breaking Symbol#<=>.
Modified Paths:
--------------
MacRuby/branches/experimental/string.c
Modified: MacRuby/branches/experimental/string.c
===================================================================
--- MacRuby/branches/experimental/string.c 2009-08-03 12:16:03 UTC (rev 2158)
+++ MacRuby/branches/experimental/string.c 2009-08-03 17:34:25 UTC (rev 2159)
@@ -4983,10 +4983,10 @@
}
static VALUE
-sym_cmp(VALUE sym1, VALUE sym2)
+sym_cmp(VALUE sym1, SEL sel, VALUE sym2)
{
int code;
-
+ printf("Class = symbol? %d\n", CLASS_OF(sym1) == rb_cSymbol);
if (CLASS_OF(sym2) != rb_cSymbol) {
return Qnil;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090803/eac7e32b/attachment.html>
More information about the macruby-changes
mailing list