MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_absindex

Function lua_absindex

extlibs/sol3/include/sol/sol.hpp:2490–2494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2488}
2489
2490COMPAT53_API int lua_absindex(lua_State *L, int i) {
2491 if (i < 0 && i > LUA_REGISTRYINDEX)
2492 i += lua_gettop(L) + 1;
2493 return i;
2494}
2495
2496static void compat53_call_lua(lua_State *L, char const code[], size_t len,
2497 int nargs, int nret) {

Callers 15

lua_compareFunction · 0.70
lua_copyFunction · 0.70
lua_rawgetpFunction · 0.70
lua_rawsetpFunction · 0.70
luaL_getsubtableFunction · 0.70
lua_getiFunction · 0.70
lua_rotateFunction · 0.70
lua_setiFunction · 0.70
absolute_indexMethod · 0.70
removeFunction · 0.70
push_popperMethod · 0.70
push_pop_atFunction · 0.70

Calls 1

lua_gettopFunction · 0.85

Tested by

no test coverage detected