| 3659 | } |
| 3660 | |
| 3661 | COMPAT53_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)) |
no test coverage detected