IMtable must be initialized (and IMtable_size is not needed any more) due

to new way to handle growing vectors (previous modification).
This commit is contained in:
Roberto Ierusalimschy
1999-04-13 16:30:51 -03:00
parent 0bbd96bd5f
commit cb7f027380
2 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 1.14 1999/02/04 17:47:59 roberto Exp roberto $
** $Id: lstate.h,v 1.15 1999/02/25 15:17:01 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -71,7 +71,6 @@ struct lua_State {
GCnode rootglobal; /* list of strings with global values */
stringtable *string_root; /* array of hash tables for strings and udata */
struct IM *IMtable; /* table for tag methods */
int IMtable_size; /* size of IMtable */
int last_tag; /* last used tag in IMtable */
struct ref *refArray; /* locked objects */
int refSize; /* size of refArray */