diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.83 2000/11/24 17:39:56 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.84 2000/12/04 18:33:40 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 | */ |
@@ -102,13 +102,13 @@ typedef struct TString { | |||
102 | */ | 102 | */ |
103 | typedef struct Proto { | 103 | typedef struct Proto { |
104 | lua_Number *knum; /* numbers used by the function */ | 104 | lua_Number *knum; /* numbers used by the function */ |
105 | int nknum; /* size of `knum' */ | 105 | int sizeknum; /* size of `knum' */ |
106 | struct TString **kstr; /* strings used by the function */ | 106 | struct TString **kstr; /* strings used by the function */ |
107 | int nkstr; /* size of `kstr' */ | 107 | int sizekstr; /* size of `kstr' */ |
108 | struct Proto **kproto; /* functions defined inside the function */ | 108 | struct Proto **kproto; /* functions defined inside the function */ |
109 | int nkproto; /* size of `kproto' */ | 109 | int sizekproto; /* size of `kproto' */ |
110 | Instruction *code; | 110 | Instruction *code; |
111 | int ncode; /* size of `code'; when 0 means an incomplete `Proto' */ | 111 | int sizecode; |
112 | short numparams; | 112 | short numparams; |
113 | short is_vararg; | 113 | short is_vararg; |
114 | short maxstacksize; | 114 | short maxstacksize; |
@@ -116,9 +116,9 @@ typedef struct Proto { | |||
116 | struct Proto *next; | 116 | struct Proto *next; |
117 | /* debug information */ | 117 | /* debug information */ |
118 | int *lineinfo; /* map from opcodes to source lines */ | 118 | int *lineinfo; /* map from opcodes to source lines */ |
119 | int nlineinfo; /* size of `lineinfo' */ | 119 | int sizelineinfo; /* size of `lineinfo' */ |
120 | int nlocvars; | ||
121 | struct LocVar *locvars; /* information about local variables */ | 120 | struct LocVar *locvars; /* information about local variables */ |
121 | int sizelocvars; | ||
122 | int lineDefined; | 122 | int lineDefined; |
123 | TString *source; | 123 | TString *source; |
124 | } Proto; | 124 | } Proto; |