methodbody and method were exchanged: fixed
[swftools.git] / lib / as3 / mkabc.py
index f7266ca..82283ab 100644 (file)
@@ -66,9 +66,9 @@ for line in fi.readlines():
                 elif c in "nubs":
                     type,pname="int","v"
                 elif c == "m":
-                    type,pname="abc_method_body_t*","m"
-                elif c == "i":
                     type,pname="abc_method_t*","m"
+                elif c == "i":
+                    type,pname="abc_method_body_t*","m"
                 elif c == "c":
                     type,pname="abc_class_t*","m"
                 elif c == "j":