mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
new scheme for buffers, centralized in auxlib.
This commit is contained in:
parent
82d09fbf0d
commit
502343b402
15 changed files with 181 additions and 172 deletions
4
lstate.c
4
lstate.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue