diff options
| -rw-r--r-- | lobject.h | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.71 2000/08/07 20:21:34 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.72 2000/08/08 18:26:05 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -117,14 +117,15 @@ typedef struct Proto { | |||
| 117 | struct Proto **kproto; /* functions defined inside the function */ | 117 | struct Proto **kproto; /* functions defined inside the function */ |
| 118 | int nkproto; /* size of `kproto' */ | 118 | int nkproto; /* size of `kproto' */ |
| 119 | Instruction *code; /* ends with opcode ENDCODE */ | 119 | Instruction *code; /* ends with opcode ENDCODE */ |
| 120 | int numparams; | ||
| 121 | int is_vararg; | ||
| 122 | int maxstacksize; | ||
| 120 | struct Proto *next; | 123 | struct Proto *next; |
| 121 | int marked; | 124 | int marked; |
| 125 | /* debug information */ | ||
| 122 | int *lineinfo; /* map from opcodes to source lines */ | 126 | int *lineinfo; /* map from opcodes to source lines */ |
| 123 | int lineDefined; | 127 | int lineDefined; |
| 124 | TString *source; | 128 | TString *source; |
| 125 | int numparams; | ||
| 126 | int is_vararg; | ||
| 127 | int maxstacksize; | ||
| 128 | struct LocVar *locvars; /* ends with line = -1 */ | 129 | struct LocVar *locvars; /* ends with line = -1 */ |
| 129 | } Proto; | 130 | } Proto; |
| 130 | 131 | ||
