MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_copy

Function lua_copy

freebsd/contrib/openzfs/module/lua/lapi.c:223–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222
223LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) {
224 TValue *fr;
225 lua_lock(L);
226 fr = index2addr(L, fromidx);
227 moveto(L, fr, toidx);
228 lua_unlock(L);
229}
230
231
232LUA_API void lua_pushvalue (lua_State *L, int idx) {

Callers 1

pushglobalfuncnameFunction · 0.85

Calls 2

index2addrFunction · 0.85
movetoFunction · 0.85

Tested by

no test coverage detected