LUA_XMOVE(3) Library Functions Manual LUA_XMOVE(3)

lua_xmoveexchange values between different threads of the same global state, function indicator [-?, +?, -]

#include <lua.h>

void
lua_xmove(lua_State *from, lua_State *to, int n);

() exchange values between different threads of the same global state. This function pops n values from the stack from, and pushes them onto the stack to.

Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.

The lua_xmove() manual page is based on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.

July 13, 2022 Debian