[macruby-changes] [3956] MacRuby/trunk/objc.h

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 21 21:23:46 PDT 2010


Revision: 3956
          http://trac.macosforge.org/projects/ruby/changeset/3956
Author:   lsansonetti at apple.com
Date:     2010-04-21 21:23:45 -0700 (Wed, 21 Apr 2010)
Log Message:
-----------
fix a bug in TypeArity() where stack size annotations were not ignored

Modified Paths:
--------------
    MacRuby/trunk/objc.h

Modified: MacRuby/trunk/objc.h
===================================================================
--- MacRuby/trunk/objc.h	2010-04-22 04:22:47 UTC (rev 3955)
+++ MacRuby/trunk/objc.h	2010-04-22 04:23:45 UTC (rev 3956)
@@ -157,6 +157,7 @@
     unsigned int arity = 0;
     while (*type != '\0') {
 	type = SkipFirstType(type);
+	type = SkipStackSize(type);
 	arity++;
     }
     return arity;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100421/a17b7746/attachment.html>


More information about the macruby-changes mailing list