| LUAL_ADDVALUE(3) | Library Functions Manual | LUAL_ADDVALUE(3) |
luaL_addvalue —
adds the value at the top of the stack to the
buffer
#include
<lauxlib.h>
void
luaL_addvalue(luaL_Buffer
*B);
Function indicator: [-1, +0, m].
luaL_addvalue()
adds the value at the top of the stack to the buffer B
(see luaL_Buffer(3)). Pops the value.
This is the only function on string buffers that can (and must) be called with an extra element on the stack, which is the value to be added to the buffer.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_addvalue() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
| July 22, 2022 | Debian |