diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-02-20 12:51:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-02-20 12:51:14 -0300 |
commit | 6769f3481701a17d15d513c5b875999d38d81877 (patch) | |
tree | aedeeba87f17a4633750f5d9fdd5d7d001326293 /opcode.h | |
parent | 0b110f7922b2e5c066f3b10f50e4d1079ccd7f93 (diff) | |
download | lua-6769f3481701a17d15d513c5b875999d38d81877.tar.gz lua-6769f3481701a17d15d513c5b875999d38d81877.tar.bz2 lua-6769f3481701a17d15d513c5b875999d38d81877.zip |
lua_Type is private (preparation for tags)
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 |