aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-29 17:12:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-29 17:12:07 -0200
commit2b3ea61342c544aadfe5ea02345e4a53c889c676 (patch)
tree1a7cded08c53abb55fbd12c7e7012f2c05066b28
parent49af08e3e7d1b8e369567f241d06eb6933fd6518 (diff)
downloadlua-2b3ea61342c544aadfe5ea02345e4a53c889c676.tar.gz
lua-2b3ea61342c544aadfe5ea02345e4a53c889c676.tar.bz2
lua-2b3ea61342c544aadfe5ea02345e4a53c889c676.zip
mistake in change for multi-state (gc threshold was not corrected)
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index d996420a..26a7ae68 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.16 1999/11/10 15:39:35 roberto Exp roberto $ 2** $Id: lstate.c,v 1.17 1999/11/22 13:12:07 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*/
@@ -51,8 +51,8 @@ lua_State *lua_newstate (void) {
51 luaX_init(L); 51 luaX_init(L);
52 luaT_init(L); 52 luaT_init(L);
53 luaB_predefine(L); 53 luaB_predefine(L);
54 return L;
55 L->GCthreshold = L->nblocks*4; 54 L->GCthreshold = L->nblocks*4;
55 return L;
56} 56}
57 57
58 58