| 2559 | } |
| 2560 | |
| 2561 | COMPAT53_API void lua_copy(lua_State *L, int from, int to) { |
| 2562 | int abs_to = lua_absindex(L, to); |
| 2563 | luaL_checkstack(L, 1, "not enough stack slots"); |
| 2564 | lua_pushvalue(L, from); |
| 2565 | lua_replace(L, abs_to); |
| 2566 | } |
| 2567 | |
| 2568 | COMPAT53_API void lua_len(lua_State *L, int i) { |
| 2569 | switch (lua_type(L, i)) { |
no test coverage detected