| 3072 | } |
| 3073 | |
| 3074 | COMPAT53_API void lua_copy(lua_State* L, int from, int to) { |
| 3075 | int abs_to = lua_absindex(L, to); |
| 3076 | luaL_checkstack(L, 1, "not enough stack slots"); |
| 3077 | lua_pushvalue(L, from); |
| 3078 | lua_replace(L, abs_to); |
| 3079 | } |
| 3080 | |
| 3081 | COMPAT53_API void lua_len(lua_State* L, int i) { |
| 3082 | switch (lua_type(L, i)) { |
no test coverage detected