LUA_GETALLOCF(3) | Library Functions Manual | LUA_GETALLOCF(3) |
lua_getallocf
—
returns the memory-allocation function of a given state,
function indicator [-0, +0, -]
#include
<lua.h>
lua_Alloc
lua_getallocf
(lua_State
*L, void **ud);
lua_getallocf
()
returns the memory-allocation function of a given state.
If ud is not NULL
,
Lua stores in *ud the opaque pointer passed to
lua_newstate(3).
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_getallocf
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 14, 2022 | Debian |