Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
176
LUA_API int lua_gettop (lua_State *L) {
177
return cast_int(L->top.p - (L->ci->func.p + 1));
178
}
179
180
181
LUA_API void lua_settop (lua_State *L, int idx) {
Callers
15
call
Method · 0.85
top
Function · 0.85
coroutine_create_guard
Function · 0.85
valid
Method · 0.85
get_type
Method · 0.85
traverse_get_deep
Method · 0.85
traverse_get_deep_optional
Method · 0.85
traverse_set_deep
Method · 0.85
table.hpp
File · 0.85
invoke
Method · 0.85
remove
Function · 0.85
pairs_iterator
Method · 0.85
Calls
no outgoing calls
Tested by
7
printstack
Function · 0.68
tref
Function · 0.68
getref
Function · 0.68
unref
Function · 0.68
getnum_aux
Function · 0.68
runC
Function · 0.68
makeCfunc
Function · 0.68