X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fabc.h;h=b267e6d122c63efd3efc25ff8f2f27cb2beaee15;hb=431de080cd881b8d00c4cc888090f22f79021311;hp=e13e06d211a8615fa23011321b41e1244c01d6b0;hpb=4e990c50e8224621ac557f21ed3bd937ba0bbff3;p=swftools.git diff --git a/lib/as3/abc.h b/lib/as3/abc.h index e13e06d..b267e6d 100644 --- a/lib/as3/abc.h +++ b/lib/as3/abc.h @@ -24,13 +24,7 @@ #ifndef __swfabc_h__ #define __swfabc_h__ -#define DECLARE(x) struct _##x;typedef struct _##x x##_t; -#define DECLARE_LIST(x) \ -struct _##x##_list { \ - struct _##x* x; \ - struct _##x##_list*next; \ -}; \ -typedef struct _##x##_list x##_list_t; \ +#include "utils.h" DECLARE(abc_file); DECLARE(abc_method_body); @@ -75,17 +69,6 @@ struct _abc_multiname { const char*name; }; -typedef struct _dict_entry { - const char*name; - void*data; -} dict_entry_t; - -typedef struct _dict { - int num; - int size; - dict_entry_t*d; -} dict_t; - struct _abc_file { // contant_pool