fix a bug in TypeArity() where stack size annotations were not ignored
--- 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;