in case of memory allocation errors, sizecode and sizelineinfo can

be different
This commit is contained in:
Roberto Ierusalimschy
2002-10-16 17:40:58 -03:00
parent 669129a6d8
commit c196348717
5 changed files with 14 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 1.146 2002/09/19 13:03:53 roberto Exp roberto $
** $Id: lobject.h,v 1.147 2002/10/08 18:46:08 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -186,6 +186,7 @@ typedef struct Proto {
TString *source;
int sizek; /* size of `k' */
int sizecode;
int sizelineinfo;
int sizep; /* size of `p' */
int sizelocvars;
int lineDefined;