LUAL_PUSHRESULT(3) Library Functions Manual LUAL_PUSHRESULT(3)

luaL_pushresultfinishes the use of buffer

#include <lauxlib.h>

void
luaL_pushresult(luaL_Buffer *B);

Function indicator: [-?, +1, m].

() finishes the use of buffer B leaving the final string on the top of the stack.

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

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

July 22, 2022 Debian