MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_seti

Function lua_seti

3rdparty/lua/sol/sol.hpp:4293–4299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4291}
4292
4293COMPAT53_API void lua_seti(lua_State* L, int index, lua_Integer i) {
4294 luaL_checkstack(L, 1, "not enough stack slots available");
4295 index = lua_absindex(L, index);
4296 lua_pushinteger(L, i);
4297 lua_insert(L, -2);
4298 lua_settable(L, index);
4299}
4300
4301#if !defined(lua_str2number)
4302#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