| 4291 | } |
| 4292 | |
| 4293 | COMPAT53_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)) |
no test coverage detected