added more member types
[swftools.git] / lib / as3 / registry.h
index 7450468..930d320 100644 (file)
@@ -44,7 +44,11 @@ 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;
     const char*name;
@@ -61,7 +65,7 @@ extern type_t function_signature_type;
 
 void registry_init();
         
-classinfo_t* classinfo_register(int access, char*package, char*name);
+classinfo_t* classinfo_register(int access, char*package, char*name, int num_interfaces);
 memberinfo_t* memberinfo_register(classinfo_t*cls, const char*name, U8 type);
 
 // static multinames