diff options
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
3 | ** $Id: opcode.h,v 3.24 1996/11/01 12:46:59 roberto Exp roberto $ | 3 | ** $Id: opcode.h,v 3.25 1997/02/11 11:35:05 roberto Exp roberto $ |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
@@ -14,6 +14,20 @@ | |||
14 | 14 | ||
15 | #define FIELDS_PER_FLUSH 40 | 15 | #define FIELDS_PER_FLUSH 40 |
16 | 16 | ||
17 | typedef enum | ||
18 | { | ||
19 | LUA_T_NIL = -1, | ||
20 | LUA_T_NUMBER = -2, | ||
21 | LUA_T_STRING = -3, | ||
22 | LUA_T_ARRAY = -4, /* array==table */ | ||
23 | LUA_T_FUNCTION = -5, | ||
24 | LUA_T_CFUNCTION= -6, | ||
25 | LUA_T_MARK = -7, | ||
26 | LUA_T_CMARK = -8, | ||
27 | LUA_T_LINE = -9, | ||
28 | LUA_T_USERDATA = 0 | ||
29 | } lua_Type; | ||
30 | |||
17 | 31 | ||
18 | typedef enum { | 32 | typedef enum { |
19 | /* name parm before after side effect | 33 | /* name parm before after side effect |