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

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 6 13:13:45 PDT 2010


Revision: 4410
          http://trac.macosforge.org/projects/ruby/changeset/4410
Author:   lsansonetti at apple.com
Date:     2010-08-06 13:13:44 -0700 (Fri, 06 Aug 2010)
Log Message:
-----------
don't use c99 features in headers

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

Modified: MacRuby/trunk/objc.h
===================================================================
--- MacRuby/trunk/objc.h	2010-08-06 00:40:08 UTC (rev 4409)
+++ MacRuby/trunk/objc.h	2010-08-06 20:13:44 UTC (rev 4410)
@@ -25,7 +25,8 @@
 	    }
 	}
 	else {
-	    for (unsigned int i = 0; i < bs_method->args_count; i++) {
+	    unsigned int i;
+	    for (i = 0; i < bs_method->args_count; i++) {
 		if (bs_method->args[i].index == arg) {
 		    return bs_method->args[i].type;
 		}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100806/f9691b54/attachment.html>


More information about the macruby-changes mailing list