| 3134 | } |
| 3135 | |
| 3136 | COMPAT53_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)) |
no test coverage detected