LUA_SETALLOCF(3) | Library Functions Manual | LUA_SETALLOCF(3) |
lua_setallocf
—
changes the allocator function, function indicator [-0, +0,
-]
#include
<lua.h>
void
lua_setallocf
(lua_State
*L, lua_Alloc f,
void *ud);
lua_setallocf
()
changes the allocator function of a given state to f
with user data ud.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_setallocf
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 15, 2022 | Debian |