git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial checkin
[swftools.git]
/
lib
/
as3
/
code.h
diff --git
a/lib/as3/code.h
b/lib/as3/code.h
index
5d94611
..
5acc8d1
100644
(file)
--- a/
lib/as3/code.h
+++ b/
lib/as3/code.h
@@
-1,5
+1,5
@@
-#ifndef __code_h__
-#define __code_h__
+#ifndef __abc_code_h__
+#define __abc_code_h__
#include "../q.h"
#include "../q.h"
@@
-40,11
+40,13
@@
struct _lookupswitch {
code_list_t*targets;
};
code_list_t*targets;
};
+#define FLAGS_ACTIVATION 0x02
+#define FLAGS_SET_DXNS 0x40
struct _codestats {
int max_stack;
int local_count;
struct _codestats {
int max_stack;
int local_count;
- int init_scope_depth;
int max_scope_depth;
int max_scope_depth;
+ int flags;
};
struct _codelookup {
};
struct _codelookup {
@@
-66,5
+68,8
@@
codestats_t* code_get_statistics(code_t*code, exception_list_t*exceptions);
void codestats_print(codestats_t*s);
void codestats_free(codestats_t*s);
void codestats_print(codestats_t*s);
void codestats_free(codestats_t*s);
+code_t* code_append(code_t*code, code_t*toappend);
+
+#define code_new() (0)
#endif
#endif