diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
388 | preinit_thread(L, g); | 388 | preinit_thread(L, g); |
389 | g->allgc = obj2gco(L); /* by now, only object is the main thread */ | 389 | g->allgc = obj2gco(L); /* by now, only object is the main thread */ |
390 | L->next = NULL; | 390 | L->next = NULL; |
391 | g->Cstacklimit = L->nCcalls = LUAI_MAXCSTACK; | 391 | g->Cstacklimit = L->nCcalls = LUAI_MAXCSTACK + CSTACKERR; |
392 | g->frealloc = f; | 392 | g->frealloc = f; |
393 | g->ud = ud; | 393 | g->ud = ud; |
394 | g->warnf = NULL; | 394 | g->warnf = NULL; |