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

Function lua_seti

extlibs/sol3/include/sol/sol.hpp:3136–3142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3134}
3135
3136COMPAT53_API void lua_seti(lua_State *L, int index, lua_Integer i) {
3137 luaL_checkstack(L, 1, "not enough stack slots available");
3138 index = lua_absindex(L, index);
3139 lua_pushinteger(L, i);
3140 lua_insert(L, -2);
3141 lua_settable(L, index);
3142}
3143
3144#if !defined(lua_str2number)
3145# define lua_str2number(s, p) strtod((s), (p))

Callers 2

pushMethod · 0.70
field_setterClass · 0.70

Calls 4

lua_pushintegerFunction · 0.85
lua_settableFunction · 0.85
luaL_checkstackFunction · 0.70
lua_absindexFunction · 0.70

Tested by

no test coverage detected