added slot field to classinfo_t
[swftools.git] / lib / as3 / registry.h
index 062e5dd..77d1f89 100644 (file)
@@ -31,11 +31,11 @@ DECLARE_LIST(classinfo);
 DECLARE(memberinfo);
 
 struct _classinfo {
-    /* this is very similar to a QNAME */
     U8 access;
     U8 flags;
     const char*package;
     const char*name;
+    int slot;
 
     classinfo_t*superclass;
     dict_t members;
@@ -44,9 +44,14 @@ struct _classinfo {
 char classinfo_equals(classinfo_t*c1, classinfo_t*c2);
 
 #define MEMBER_SLOT 1
-#define MEMBER_METHOD 2
+#define MEMBER_GET 2
+#define MEMBER_SET 4
+#define MEMBER_GETSET 6
+#define MEMBER_METHOD 8
+
 struct _memberinfo {
     U8 kind;
+    U8 flags;
     const char*name;
     union {
         classinfo_t*return_type;