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 a924722c..0c12bb64 100644
--- a/lcode.h
+++ b/lcode.h
@@ -51,11 +51,11 @@ typedef enum UnOpr { OPR_MINUS, OPR_BNOT, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr;
51 51
52#define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) 52#define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t)
53 53
54LUAI_FUNC int luaK_code (FuncState *fs, Instruction i);
54LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); 55LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
55LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx); 56LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
56LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A, 57LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
57 int B, int C, int k); 58 int B, int C, int k);
58LUAI_FUNC int luaK_codeextraarg (FuncState *fs, int a);
59LUAI_FUNC int luaK_isKint (expdesc *e); 59LUAI_FUNC int luaK_isKint (expdesc *e);
60LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v); 60LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v);
61LUAI_FUNC void luaK_fixline (FuncState *fs, int line); 61LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
@@ -87,6 +87,8 @@ LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v, int line);
87LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v); 87LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v);
88LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, 88LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1,
89 expdesc *v2, int line); 89 expdesc *v2, int line);
90LUAI_FUNC void luaK_settablesize (FuncState *fs, int pc,
91 int ra, int rb, int rc);
90LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore); 92LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
91LUAI_FUNC void luaK_finish (FuncState *fs); 93LUAI_FUNC void luaK_finish (FuncState *fs);
92LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg); 94LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg);