diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.155 2002/11/14 16:16:21 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.156 2002/12/19 11:11:55 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 | */ |
@@ -216,7 +216,7 @@ typedef struct Proto { | |||
216 | struct LocVar *locvars; /* information about local variables */ | 216 | struct LocVar *locvars; /* information about local variables */ |
217 | TString **upvalues; /* upvalue names */ | 217 | TString **upvalues; /* upvalue names */ |
218 | TString *source; | 218 | TString *source; |
219 | int nupvalues; /* (also size of `upvals') */ | 219 | int sizeupvalues; |
220 | int sizek; /* size of `k' */ | 220 | int sizek; /* size of `k' */ |
221 | int sizecode; | 221 | int sizecode; |
222 | int sizelineinfo; | 222 | int sizelineinfo; |
@@ -224,6 +224,7 @@ typedef struct Proto { | |||
224 | int sizelocvars; | 224 | int sizelocvars; |
225 | int lineDefined; | 225 | int lineDefined; |
226 | GCObject *gclist; | 226 | GCObject *gclist; |
227 | lu_byte nups; /* number of upvalues */ | ||
227 | lu_byte numparams; | 228 | lu_byte numparams; |
228 | lu_byte is_vararg; | 229 | lu_byte is_vararg; |
229 | lu_byte maxstacksize; | 230 | lu_byte maxstacksize; |