git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fa119fe
)
set BUILTIN flag in imported classes/members
author
Matthias Kramm
<kramm@quiss.org>
Sat, 14 Feb 2009 02:02:12 +0000
(
03:02
+0100)
committer
Matthias Kramm
<kramm@quiss.org>
Sat, 14 Feb 2009 02:02:12 +0000
(
03:02
+0100)
lib/as3/import.c
patch
|
blob
|
history
diff --git
a/lib/as3/import.c
b/lib/as3/import.c
index
20c2fea
..
8721e28
100644
(file)
--- a/
lib/as3/import.c
+++ b/
lib/as3/import.c
@@
-98,6
+98,7
@@
void as3_import_code(abc_file_t*abc)
multiname_list_t*i=cls->interfaces;
classinfo_t*c = classinfo_register(access, package, name, list_length(i));
+ c->flags|=FLAG_BUILTIN;
if(cls->flags & CLASS_FINAL)
c->flags |= FLAG_FINAL;
@@
-140,6
+141,7
@@
void as3_import_code(abc_file_t*abc)
}
s->flags = is_static?FLAG_STATIC:0;
+ s->flags |= FLAG_BUILTIN;
s->parent = c;
cont:
@@
-185,6
+187,7
@@
void as3_import_code(abc_file_t*abc)
} else {
m = (memberinfo_t*)varinfo_register_global(access, package, name);
}
+ m->flags |= FLAG_BUILTIN;
m->return_type = 0;
m->parent = 0;
}