diff options
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ | 2 | ** $Id: lcode.h,v 1.27 2002/02/05 22:39:12 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -42,6 +42,7 @@ void luaK_error (LexState *ls, const char *msg); | |||
42 | int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); | 42 | int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); |
43 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); | 43 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); |
44 | void luaK_nil (FuncState *fs, int from, int n); | 44 | void luaK_nil (FuncState *fs, int from, int n); |
45 | void luaK_checkstack (FuncState *fs, int n); | ||
45 | void luaK_reserveregs (FuncState *fs, int n); | 46 | void luaK_reserveregs (FuncState *fs, int n); |
46 | int luaK_stringK (FuncState *fs, TString *s); | 47 | int luaK_stringK (FuncState *fs, TString *s); |
47 | int luaK_numberK (FuncState *fs, lua_Number r); | 48 | int luaK_numberK (FuncState *fs, lua_Number r); |
@@ -57,6 +58,7 @@ void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); | |||
57 | void luaK_setcallreturns (FuncState *fs, expdesc *var, int nresults); | 58 | void luaK_setcallreturns (FuncState *fs, expdesc *var, int nresults); |
58 | int luaK_jump (FuncState *fs); | 59 | int luaK_jump (FuncState *fs); |
59 | void luaK_patchlist (FuncState *fs, int list, int target); | 60 | void luaK_patchlist (FuncState *fs, int list, int target); |
61 | void luaK_patchtohere (FuncState *fs, int list); | ||
60 | void luaK_concat (FuncState *fs, int *l1, int l2); | 62 | void luaK_concat (FuncState *fs, int *l1, int l2); |
61 | int luaK_getlabel (FuncState *fs); | 63 | int luaK_getlabel (FuncState *fs); |
62 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); | 64 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); |