aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-22 14:50:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-22 14:50:39 -0300
commit086da10dacc9e2b8f7731609f0deec731c854627 (patch)
treed658d3bec0712aee85bb4de1f3324f76595cd3b9 /lstate.c
parentb36b4b521f53e5ff2e18fff3c194d28f9a840868 (diff)
downloadlua-086da10dacc9e2b8f7731609f0deec731c854627.tar.gz
lua-086da10dacc9e2b8f7731609f0deec731c854627.tar.bz2
lua-086da10dacc9e2b8f7731609f0deec731c854627.zip
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
(used in inc. mode)
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index fecd0fba..cb80de7d 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.94 2012/05/11 14:06:07 roberto Exp roberto $ 2** $Id: lstate.c,v 2.95 2012/05/22 17:32:25 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*/
@@ -280,7 +280,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
280 g->uvhead.u.l.prev = &g->uvhead; 280 g->uvhead.u.l.prev = &g->uvhead;
281 g->uvhead.u.l.next = &g->uvhead; 281 g->uvhead.u.l.next = &g->uvhead;
282 g->gcrunning = 0; /* no GC while building state */ 282 g->gcrunning = 0; /* no GC while building state */
283 g->lastmajormem = 0; 283 g->GCestimate = 0;
284 g->strt.size = 0; 284 g->strt.size = 0;
285 g->strt.nuse = 0; 285 g->strt.nuse = 0;
286 g->strt.hash = NULL; 286 g->strt.hash = NULL;