diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-10-16 17:40:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-10-16 17:40:58 -0300 |
commit | c196348717dfda116726145220e5d1311547980e (patch) | |
tree | 83149c29559b888eed7a28e5f1558a67a912cf90 /lobject.h | |
parent | 669129a6d8210e758ba94ea2786a370946572f7d (diff) | |
download | lua-c196348717dfda116726145220e5d1311547980e.tar.gz lua-c196348717dfda116726145220e5d1311547980e.tar.bz2 lua-c196348717dfda116726145220e5d1311547980e.zip |
in case of memory allocation errors, sizecode and sizelineinfo can
be different
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.146 2002/09/19 13:03:53 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.147 2002/10/08 18:46:08 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 | */ |
@@ -186,6 +186,7 @@ typedef struct Proto { | |||
186 | TString *source; | 186 | TString *source; |
187 | int sizek; /* size of `k' */ | 187 | int sizek; /* size of `k' */ |
188 | int sizecode; | 188 | int sizecode; |
189 | int sizelineinfo; | ||
189 | int sizep; /* size of `p' */ | 190 | int sizep; /* size of `p' */ |
190 | int sizelocvars; | 191 | int sizelocvars; |
191 | int lineDefined; | 192 | int lineDefined; |