MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_gettop

Function lua_gettop

third-party/lua-5.4.6/src/lapi.c:176–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175
176LUA_API int lua_gettop (lua_State *L) {
177 return cast_int(L->top.p - (L->ci->func.p + 1));
178}
179
180
181LUA_API void lua_settop (lua_State *L, int idx) {

Callers 15

docallFunction · 0.70
loadlineFunction · 0.70
l_printFunction · 0.70
luaB_printFunction · 0.70
luaB_warnFunction · 0.70
dofilecontFunction · 0.70
luaB_assertFunction · 0.70
luaB_selectFunction · 0.70
finishpcallFunction · 0.70
luaB_pcallFunction · 0.70
luaB_xpcallFunction · 0.70
math_minFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected