mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
new field 'status' in CallInfo structure
This commit is contained in:
parent
d69aa51088
commit
394646891c
2 changed files with 5 additions and 3 deletions
3
lstate.c
3
lstate.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lstate.c,v 2.44 2008/02/19 18:55:09 roberto Exp roberto $
|
||||
** $Id: lstate.c,v 2.45 2008/06/26 19:42:45 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -56,6 +56,7 @@ static void stack_init (lua_State *L1, lua_State *L) {
|
|||
setnilvalue(L1->top++); /* `function' entry for this `ci' */
|
||||
L1->base = L1->ci->base = L1->top;
|
||||
L1->ci->top = L1->top + LUA_MINSTACK;
|
||||
L1->ci->status = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue