| 239 | } |
| 240 | |
| 241 | LUA_API void lua_pushvalue(lua_State *L, int idx) |
| 242 | { |
| 243 | lua_lock(L); |
| 244 | setobj2s(L, L->top, index2addr(L, idx)); |
| 245 | api_incr_top(L); |
| 246 | lua_unlock(L); |
| 247 | } |
| 248 | |
| 249 | /* |
| 250 | ** access functions (stack -> C) |
no test coverage detected