aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:48:58 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:48:58 -0200
commit502343b40230dfb00efc37bdbaa5c5576f3a5aa5 (patch)
treeb75f9e296ad3229a607fb2b7152dd9efc3706ef6 /lstate.c
parent82d09fbf0dbd5aee890f033b25b09dc48ce58a48 (diff)
downloadlua-502343b40230dfb00efc37bdbaa5c5576f3a5aa5.tar.gz
lua-502343b40230dfb00efc37bdbaa5c5576f3a5aa5.tar.bz2
lua-502343b40230dfb00efc37bdbaa5c5576f3a5aa5.zip
new scheme for buffers, centralized in auxlib.
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lstate.c b/lstate.c
index e1011a1a..c1a1b43d 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.3 1997/12/01 20:31:25 roberto Exp roberto $ 2** $Id: lstate.c,v 1.4 1997/12/11 14:48:46 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -40,6 +40,8 @@ void lua_open (void)
40 L->refArray = NULL; 40 L->refArray = NULL;
41 L->refSize = 0; 41 L->refSize = 0;
42 L->Mbuffsize = 0; 42 L->Mbuffsize = 0;
43 L->Mbuffnext = 0;
44 L->Mbuffbase = NULL;
43 L->Mbuffer = NULL; 45 L->Mbuffer = NULL;
44 L->GCthreshold = GARBAGE_BLOCK; 46 L->GCthreshold = GARBAGE_BLOCK;
45 L->nblocks = 0; 47 L->nblocks = 0;