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

Function lua_gettop

source/extern/lua/lapi.c:167–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167LUA_API int lua_gettop (lua_State *L) {
168 return cast_int(L->top - (L->ci->func + 1));
169}
170
171
172LUA_API void lua_settop (lua_State *L, int idx) {

Callers 15

luaB_printFunction · 0.85
dofilecontFunction · 0.85
luaB_assertFunction · 0.85
luaB_selectFunction · 0.85
finishpcallFunction · 0.85
luaB_pcallFunction · 0.85
luaB_xpcallFunction · 0.85
math_minFunction · 0.85
math_maxFunction · 0.85
math_randomFunction · 0.85
str_charFunction · 0.85
str_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected