git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added tests for increment_i
[swftools.git]
/
lib
/
as3
/
mklib.c
diff --git
a/lib/as3/mklib.c
b/lib/as3/mklib.c
index
e67df89
..
34356c3
100644
(file)
--- a/
lib/as3/mklib.c
+++ b/
lib/as3/mklib.c
@@
-120,11
+120,12
@@
void load_libraries(char*filename, int pass, FILE*fi)
superid = mkid(superpackage, supername);
}
char*id = mkid(package, name);
superid = mkid(superpackage, supername);
}
char*id = mkid(package, name);
+ U8 flags = cls->flags;
if(pass==0)
fprintf(fi, "static class_signature_t %s;\n", id);
else if(pass==1) {
if(pass==0)
fprintf(fi, "static class_signature_t %s;\n", id);
else if(pass==1) {
- fprintf(fi, "static class_signature_t %s = {0x%02x, \"%s\", \"%s\"", id, access, package, name);
+ fprintf(fi, "static class_signature_t %s = {0x%02x, 0x%02x, \"%s\", \"%s\"", id, access, flags, package, name);
if(superid)
fprintf(fi, ", &%s, interfaces:{", superid);
else
if(superid)
fprintf(fi, ", &%s, interfaces:{", superid);
else