MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_gettop

Function lua_gettop

Dependencies/lua/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

callMethod · 0.85
topFunction · 0.85
coroutine_create_guardFunction · 0.85
validMethod · 0.85
get_typeMethod · 0.85
traverse_get_deepMethod · 0.85
traverse_set_deepMethod · 0.85
table.hppFile · 0.85
invokeMethod · 0.85
removeFunction · 0.85
pairs_iteratorMethod · 0.85

Calls

no outgoing calls

Tested by 7

printstackFunction · 0.68
trefFunction · 0.68
getrefFunction · 0.68
unrefFunction · 0.68
getnum_auxFunction · 0.68
runCFunction · 0.68
makeCfuncFunction · 0.68