git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a53c02b89ee5578d7de253e8af516f5a88d9d85d
[swftools.git]
/
lib
/
as3
/
code.h
1
#ifndef __abc_code_h__
2
#define __abc_code_h__
3
4
#include "../q.h"
5
6
DECLARE(abc_code);
7
8
#include "abc.h"
9
10
typedef struct _opcode
11
{
12
unsigned char opcode;
13
char*name;
14
char*params;
15
16
int stack_minus;
17
int stack_plus;
18
int scope_stack_change;
19
int flags;
20
} opcode_t;
21
22
struct _abc_code {
23
U8 opcode;
24
U8 len;
25
void*params[2];
26
abc_code_t*next;
27
abc_code_t*prev;
28
abc_code_t*parent;
29
};
30
31
abc_code_t* add_opcode(abc_code_t*atag, U8 op);
32
33
#endif