| 224 | |
| 225 | |
| 226 | LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) { |
| 227 | TValue *fr; |
| 228 | lua_lock(L); |
| 229 | fr = index2addr(L, fromidx); |
| 230 | moveto(L, fr, toidx); |
| 231 | lua_unlock(L); |
| 232 | } |
| 233 | |
| 234 | |
| 235 | LUA_API void lua_pushvalue (lua_State *L, int idx) { |
no test coverage detected