git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed dict_append_if_new2
[swftools.git]
/
lib
/
as3
/
abc.h
diff --git
a/lib/as3/abc.h
b/lib/as3/abc.h
index
e13e06d
..
b267e6d
100644
(file)
--- a/
lib/as3/abc.h
+++ b/
lib/as3/abc.h
@@
-24,13
+24,7
@@
#ifndef __swfabc_h__
#define __swfabc_h__
#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);
DECLARE(abc_file);
DECLARE(abc_method_body);
@@
-75,17
+69,6
@@
struct _abc_multiname {
const char*name;
};
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
struct _abc_file {
// contant_pool