misc/liblua/lstate.c
changeset 3697 d5b30d6373fc
parent 2812 0a24853de796
child 10017 de822cd3df3a
equal deleted inserted replaced
3695:c11abf387a7d 3697:d5b30d6373fc
    34 */
    34 */
    35 typedef struct LG {
    35 typedef struct LG {
    36   lua_State l;
    36   lua_State l;
    37   global_State g;
    37   global_State g;
    38 } LG;
    38 } LG;
    39   
    39 
    40 
    40 
    41 
    41 
    42 static void stack_init (lua_State *L1, lua_State *L) {
    42 static void stack_init (lua_State *L1, lua_State *L) {
    43   /* initialize CallInfo array */
    43   /* initialize CallInfo array */
    44   L1->base_ci = luaM_newvector(L, BASIC_CI_SIZE, CallInfo);
    44   L1->base_ci = luaM_newvector(L, BASIC_CI_SIZE, CallInfo);