new scheme for buffers, centralized in auxlib.

This commit is contained in:
Roberto Ierusalimschy
1997-12-17 18:48:58 -02:00
parent 82d09fbf0d
commit 502343b402
15 changed files with 181 additions and 172 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.c,v 1.3 1997/12/01 20:31:25 roberto Exp roberto $
** $Id: lstate.c,v 1.4 1997/12/11 14:48:46 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -40,6 +40,8 @@ void lua_open (void)
L->refArray = NULL;
L->refSize = 0;
L->Mbuffsize = 0;
L->Mbuffnext = 0;
L->Mbuffbase = NULL;
L->Mbuffer = NULL;
L->GCthreshold = GARBAGE_BLOCK;
L->nblocks = 0;