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

Function lua_seti

Libs/sol/sol.hpp:3661–3667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3659}
3660
3661COMPAT53_API void lua_seti(lua_State* L, int index, lua_Integer i) {
3662 luaL_checkstack(L, 1, "not enough stack slots available");
3663 index = lua_absindex(L, index);
3664 lua_pushinteger(L, i);
3665 lua_insert(L, -2);
3666 lua_settable(L, index);
3667}
3668
3669#if !defined(lua_str2number)
3670#define lua_str2number(s, p) strtod((s), (p))

Callers 2

pushMethod · 0.85
field_setterClass · 0.85

Calls 2

luaL_checkstackFunction · 0.85
lua_absindexFunction · 0.85

Tested by

no test coverage detected