| LUAL_REG(3) | Library Functions Manual | LUAL_REG(3) |
luaL_Reg — type
for arrays of functions to be registered by luaL_register
#include
<lauxlib.h>
typedef struct luaL_Reg;
luaL_Reg()
type for arrays of functions to be registered by
luaL_register(3). luaL_Reg is
defined as:
typedef struct luaL_Reg {
const char *name;
lua_CFunction func;
} luaL_Reg;
name is the function name and
func is a pointer to the function. Any array of
luaL_Reg must end with an sentinel entry in which
both name and func are
NULL.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_Reg() manual page is based on Lua
Reference Manual 5.1 and was created by Sergey Bronnikov.
| July 26, 2022 | Debian |