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

Function lua_geti

extlibs/sol3/include/sol/sol.hpp:3080–3085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3078#if defined( LUA_VERSION_NUM ) && LUA_VERSION_NUM <= 502
3079
3080COMPAT53_API int lua_geti(lua_State *L, int index, lua_Integer i) {
3081 index = lua_absindex(L, index);
3082 lua_pushinteger(L, i);
3083 lua_gettable(L, index);
3084 return lua_type(L, -1);
3085}
3086
3087COMPAT53_API int lua_isinteger(lua_State *L, int index) {
3088 if (lua_type(L, index) == LUA_TNUMBER) {

Callers 2

getMethod · 0.70
getMethod · 0.70

Calls 4

lua_pushintegerFunction · 0.85
lua_gettableFunction · 0.85
lua_typeFunction · 0.85
lua_absindexFunction · 0.70

Tested by

no test coverage detected