git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
classinfo_t now has a union member for storing subclasses/submembers
[swftools.git]
/
lib
/
as3
/
registry.h
diff --git
a/lib/as3/registry.h
b/lib/as3/registry.h
index
b5769b0
..
1784563
100644
(file)
--- a/
lib/as3/registry.h
+++ b/
lib/as3/registry.h
@@
-35,7
+35,11
@@
struct _classinfo {
U8 flags;
const char*package;
const char*name;
U8 flags;
const char*package;
const char*name;
- int slot;
+ union {
+ int slot; // slot nr in initscript traits
+ classinfo_t*cls; // specific class of a Class type
+ memberinfo_t*function; //specific function of a Function type
+ };
classinfo_t*superclass;
dict_t members;
classinfo_t*superclass;
dict_t members;