aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstate.c b/lstate.c
index 35e3ed80..1645eccf 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.18 2004/12/06 17:53:42 roberto Exp roberto $ 2** $Id: lstate.c,v 2.19 2004/12/13 12:15:11 roberto Exp $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -87,9 +87,9 @@ static void f_luaopen (lua_State *L, void *ud) {
87 setbit(u->uv.marked, FIXEDBIT); 87 setbit(u->uv.marked, FIXEDBIT);
88 setbit(L->marked, FIXEDBIT); 88 setbit(L->marked, FIXEDBIT);
89 stack_init(L, L); /* init stack */ 89 stack_init(L, L); /* init stack */
90 sethvalue(L, gt(L), luaH_new(L, 0, 4)); /* table of globals */ 90 sethvalue(L, gt(L), luaH_new(L, 0, 20)); /* table of globals */
91 hvalue(gt(L))->metatable = luaH_new(L, 0, 0); /* globals metatable */ 91 hvalue(gt(L))->metatable = luaH_new(L, 0, 0); /* globals metatable */
92 sethvalue(L, registry(L), luaH_new(L, 4, 4)); /* registry */ 92 sethvalue(L, registry(L), luaH_new(L, 6, 20)); /* registry */
93 luaS_resize(L, MINSTRTABSIZE); /* initial size of string table */ 93 luaS_resize(L, MINSTRTABSIZE); /* initial size of string table */
94 luaT_init(L); 94 luaT_init(L);
95 luaX_init(L); 95 luaX_init(L);