diff options
Diffstat (limited to 'lcode.h')
| -rw-r--r-- | lcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.30 2002/04/02 20:34:53 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.31 2002/04/09 18:49:30 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 | */ |
| @@ -39,10 +39,10 @@ typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_NOUNOPR } UnOpr; | |||
| 39 | 39 | ||
| 40 | #define getcode(fs,e) ((fs)->f->code[(e)->info]) | 40 | #define getcode(fs,e) ((fs)->f->code[(e)->info]) |
| 41 | 41 | ||
| 42 | #define luaK_codeAsBc(fs,o,A,sBc) luaK_codeABc(fs,o,A,(sBc)+MAXARG_sBc) | 42 | #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) |
| 43 | 43 | ||
| 44 | void luaK_error (LexState *ls, const char *msg); | 44 | void luaK_error (LexState *ls, const char *msg); |
| 45 | int luaK_codeABc (FuncState *fs, OpCode o, int A, unsigned int Bc); | 45 | int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); |
| 46 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); | 46 | int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); |
| 47 | void luaK_nil (FuncState *fs, int from, int n); | 47 | void luaK_nil (FuncState *fs, int from, int n); |
| 48 | void luaK_reserveregs (FuncState *fs, int n); | 48 | void luaK_reserveregs (FuncState *fs, int n); |
