Lines Matching refs:lua_gettop
32 int n = lua_gettop(L); /* number of arguments */ in luaB_print()
327 int n = lua_gettop(L); in luaB_dofile()
330 return lua_gettop(L) - n; in luaB_dofile()
338 return lua_gettop(L); in luaB_assert()
359 int n = lua_gettop(L); in luaB_select()
377 status = lua_pcall(L, lua_gettop(L) - 1, LUA_MULTRET, 0); in luaB_pcall()
380 return lua_gettop(L); /* return status + all results */ in luaB_pcall()
392 return lua_gettop(L); /* return status + all results */ in luaB_xpcall()
499 else if (lua_gettop(co) == 0) in costatus()
530 int nres = lua_gettop(co); in auxresume()
547 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume()
563 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap()
594 return lua_yield(L, lua_gettop(L)); in luaB_yield()