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

Function lua_geti

Libs/sol/sol.hpp:3605–3610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3603#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM <= 502
3604
3605COMPAT53_API int lua_geti(lua_State* L, int index, lua_Integer i) {
3606 index = lua_absindex(L, index);
3607 lua_pushinteger(L, i);
3608 lua_gettable(L, index);
3609 return lua_type(L, -1);
3610}
3611
3612COMPAT53_API int lua_isinteger(lua_State* L, int index) {
3613 if (lua_type(L, index) == LUA_TNUMBER) {

Callers 2

getMethod · 0.85
getMethod · 0.85

Calls 1

lua_absindexFunction · 0.85

Tested by

no test coverage detected