aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index 0a6d7bf5..ef6b1f61 100644
--- a/lcode.h
+++ b/lcode.h
@@ -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);
42int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); 42int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc);
43int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); 43int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
44void luaK_nil (FuncState *fs, int from, int n); 44void luaK_nil (FuncState *fs, int from, int n);
45void luaK_checkstack (FuncState *fs, int n);
45void luaK_reserveregs (FuncState *fs, int n); 46void luaK_reserveregs (FuncState *fs, int n);
46int luaK_stringK (FuncState *fs, TString *s); 47int luaK_stringK (FuncState *fs, TString *s);
47int luaK_numberK (FuncState *fs, lua_Number r); 48int luaK_numberK (FuncState *fs, lua_Number r);
@@ -57,6 +58,7 @@ void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e);
57void luaK_setcallreturns (FuncState *fs, expdesc *var, int nresults); 58void luaK_setcallreturns (FuncState *fs, expdesc *var, int nresults);
58int luaK_jump (FuncState *fs); 59int luaK_jump (FuncState *fs);
59void luaK_patchlist (FuncState *fs, int list, int target); 60void luaK_patchlist (FuncState *fs, int list, int target);
61void luaK_patchtohere (FuncState *fs, int list);
60void luaK_concat (FuncState *fs, int *l1, int l2); 62void luaK_concat (FuncState *fs, int *l1, int l2);
61int luaK_getlabel (FuncState *fs); 63int luaK_getlabel (FuncState *fs);
62void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); 64void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v);