diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-27 13:59:25 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-27 13:59:25 -0200 |
| commit | ef37c87e9333d825838d421e4652076b70c83a72 (patch) | |
| tree | 2e42a23ae28870e731157feeee14d7808a8b34a6 /lstate.c | |
| parent | 9e029f98b9b4859aa30305a0c36e560a085c02a9 (diff) | |
| download | lua-ef37c87e9333d825838d421e4652076b70c83a72.tar.gz lua-ef37c87e9333d825838d421e4652076b70c83a72.tar.bz2 lua-ef37c87e9333d825838d421e4652076b70c83a72.zip | |
no more 'globalbag'
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: $ | 2 | ** $Id: lstate.c,v 1.1 1997/11/19 17:31:19 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 | */ |
| @@ -45,8 +45,6 @@ void lua_open (void) | |||
| 45 | luaS_init(); | 45 | luaS_init(); |
| 46 | luaX_init(); | 46 | luaX_init(); |
| 47 | luaT_init(); | 47 | luaT_init(); |
| 48 | L->globalbag.ttype = LUA_T_ARRAY; | ||
| 49 | L->globalbag.value.a = luaH_new(0); | ||
| 50 | luaB_predefine(); | 48 | luaB_predefine(); |
| 51 | } | 49 | } |
| 52 | 50 | ||
