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

Function lua_absindex

Libs/sol/sol.hpp:3006–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3004}
3005
3006COMPAT53_API int lua_absindex(lua_State* L, int i) {
3007 if (i < 0 && i > LUA_REGISTRYINDEX)
3008 i += lua_gettop(L) + 1;
3009 return i;
3010}
3011
3012static void compat53_call_lua(lua_State* L, char const code[], size_t len, int nargs, int nret) {
3013 lua_rawgetp(L, LUA_REGISTRYINDEX, (void*)code);

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected