MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_xmove

Function lua_xmove

Source/Misc/lua/src/lua.c:1959–1971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1957
1958
1959LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) {
1960int i;
1961if (from == to) return;
1962lua_lock(to);
1963api_checknelems(from, n);
1964api_check(from, G(from) == G(to));
1965api_check(from, to->ci->top - to->top >= n);
1966from->top -= n;
1967for (i = 0; i < n; i++) {
1968setobj2s(to, to->top++, from->top + i);
1969}
1970lua_unlock(to);
1971}
1972
1973
1974LUA_API void lua_setlevel (lua_State *from, lua_State *to) {

Callers 7

usb.cFile · 0.85
auxresumeFunction · 0.85
luaB_cocreateFunction · 0.85
treatstackoptionFunction · 0.85
db_getinfoFunction · 0.85
db_getlocalFunction · 0.85
db_setlocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected