LUAL_CHECKSTACK(3) | Library Functions Manual | LUAL_CHECKSTACK(3) |
luaL_checkstack
—
grows the stack size to specified size of elements,
function indicator [-0, +0, v]
#include
<lauxlib.h>
void
luaL_checkstack
(lua_State
*L, int sz,
const char *msg);
luaL_checkstack
()
grows the stack size to
top + sz
elements, raising an error if the stack cannot grow to that size.
msg is an additional text to go into the error
message.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_checkstack
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 24, 2022 | Debian |