LUA_PUSHVALUE(3) | Library Functions Manual | LUA_PUSHVALUE(3) |
lua_pushvalue
—
pushes a copy of the element onto the stack, function
indicator [-0, +1, -]
#include
<lua.h>
void
lua_pushvalue
(lua_State
*L, int index);
lua_pushvalue
()
pushes a copy of the element at the given valid index onto the stack.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_pushvalue
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 18, 2022 | Debian |