git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed ok/innerfunctionslots.as
[swftools.git]
/
lib
/
as3
/
registry.h
diff --git
a/lib/as3/registry.h
b/lib/as3/registry.h
index
60ac6cc
..
31267bf
100644
(file)
--- a/
lib/as3/registry.h
+++ b/
lib/as3/registry.h
@@
-77,7
+77,7
@@
struct _classinfo {
classinfo_t*superclass;
dict_t members;
void*data; //TODO: get rid of this- parser.y should pass type/value/code triples around
classinfo_t*superclass;
dict_t members;
void*data; //TODO: get rid of this- parser.y should pass type/value/code triples around
- classinfo_t*interfaces[0];
+ classinfo_t*interfaces[];
};
struct _memberinfo {
U8 kind,subtype,flags,access;
};
struct _memberinfo {
U8 kind,subtype,flags,access;
@@
-109,6
+109,7
@@
struct _varinfo {
constant_t*value;
};
constant_t*value;
};
+extern type_t memberinfo_type;
extern type_t slotinfo_type;
char slotinfo_equals(slotinfo_t*c1, slotinfo_t*c2);
extern type_t slotinfo_type;
char slotinfo_equals(slotinfo_t*c1, slotinfo_t*c2);
@@
-139,6
+140,8
@@
classinfo_t* slotinfo_gettype(slotinfo_t*);
namespace_t access2namespace(U8 access, char*package);
namespace_t access2namespace(U8 access, char*package);
+char registry_ispackage(char*package);
+
// static multinames
classinfo_t* registry_getanytype();
classinfo_t* registry_getarrayclass();
// static multinames
classinfo_t* registry_getanytype();
classinfo_t* registry_getarrayclass();