MCPcopy Create free account
hub / github.com/defold/defold / lua_gettop

Function lua_gettop

engine/lua/src/lua/lapi.c:159–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159LUA_API int lua_gettop (lua_State *L) {
160 return cast_int(L->top - L->base);
161}
162
163
164LUA_API void lua_settop (lua_State *L, int idx) {

Callers 15

Crash_GetModulesFunction · 0.85
Crash_GetBacktraceFunction · 0.85
InitializeCrashFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
GetScriptFunction · 0.85
ScriptInstance_newindexFunction · 0.85
ResolveInstanceFunction · 0.85
Script_GetFunction · 0.85
Script_SetFunction · 0.85
Script_SetParentFunction · 0.85
Script_GetIdFunction · 0.85

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
LuaTestCompTypeFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
NewUserTypeFunction · 0.68
DeleteUserTypeFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68