summaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-13 17:37:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-13 17:37:16 -0300
commitf0b697e01caf626785cd9572f82fe98c4a3889fd (patch)
tree13711db24b370bf0484ab05702eaf1871eb6b9a1 /lcode.h
parent73aa465a8ed8dee6c6a27a6f8b2f51227b70789d (diff)
downloadlua-github-f0b697e01caf626785cd9572f82fe98c4a3889fd.tar.gz
details
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/lcode.h b/lcode.h
index 994ff499..9d168d29 100644
--- a/lcode.h
+++ b/lcode.h
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.h,v 1.5 2000/03/09 13:57:37 roberto Exp roberto $
+** $Id: lcode.h,v 1.6 2000/03/10 18:37:44 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -20,20 +20,20 @@
void luaK_error (LexState *ls, const char *msg);
-int luaK_primitivecode (LexState *ls, Instruction i);
-int luaK_code (LexState *ls, Instruction i, int delta);
-void luaK_retcode (LexState *ls, int nlocals, int nexps);
-void luaK_fixjump (LexState *ls, int pc, int dest);
-void luaK_patchlist (LexState *ls, int list, int target);
-void luaK_goiftrue (LexState *ls, expdesc *v, int keepvalue);
-void luaK_goiffalse (LexState *ls, expdesc *v, int keepvalue);
-int luaK_getlabel (LexState *ls);
-void luaK_deltastack (LexState *ls, int delta);
+int luaK_primitivecode (FuncState *fs, Instruction i);
+int luaK_code (FuncState *fs, Instruction i, int delta);
+void luaK_retcode (FuncState *fs, int nlocals, int nexps);
+void luaK_fixjump (FuncState *fs, int pc, int dest);
+void luaK_patchlist (FuncState *fs, int list, int target);
+void luaK_goiftrue (FuncState *fs, expdesc *v, int keepvalue);
+void luaK_goiffalse (FuncState *fs, expdesc *v, int keepvalue);
+int luaK_getlabel (FuncState *fs);
+void luaK_deltastack (FuncState *fs, int delta);
void luaK_kstr (LexState *ls, int c);
-void luaK_number (LexState *ls, Number f);
-void luaK_adjuststack (LexState *ls, int n);
-int luaK_lastisopen (LexState *ls);
-void luaK_setcallreturns (LexState *ls, int nresults);
+void luaK_number (FuncState *fs, Number f);
+void luaK_adjuststack (FuncState *fs, int n);
+int luaK_lastisopen (FuncState *fs);
+void luaK_setcallreturns (FuncState *fs, int nresults);
void luaK_tostack (LexState *ls, expdesc *v, int onlyone);
void luaK_storevar (LexState *ls, const expdesc *var);
void luaK_prefix (LexState *ls, int op, expdesc *v);