Registers a function to be executed when the Lua state is initialized.
More...
#include <register.h>
|
using | fn = void(lua_State *) |
|
using | fn = void(lua_State *) |
|
|
static void | register_all (lua_State *L) |
| Executes all registered function and removes them from the list.
|
|
static void | register_all (lua_State *L) |
| Executes all registered function and removes them from the list.
|
|
|
using | V = std::vector< fn * > |
|
using | V = std::vector< fn * > |
|
Registers a function to be executed when the Lua state is initialized.
- See also
- NNGN_LUA_PROXY
◆ fn [1/2]
◆ fn [2/2]
◆ V [1/2]
◆ V [2/2]
◆ static_register() [1/2]
nngn::lua::static_register::static_register |
( |
fn * |
f | ) |
|
|
inlineexplicit |
Adds a function to the list.
◆ static_register() [2/2]
nngn::lua::static_register::static_register |
( |
fn * |
f | ) |
|
|
inlineexplicit |
Adds a function to the list.
◆ register_all() [1/2]
void nngn::lua::static_register::register_all |
( |
lua_State * |
L | ) |
|
|
static |
Executes all registered function and removes them from the list.
◆ register_all() [2/2]
static void nngn::lua::static_register::register_all |
( |
lua_State * |
L | ) |
|
|
static |
Executes all registered function and removes them from the list.
◆ registry() [1/2]
static V & nngn::lua::static_register::registry |
( |
void |
| ) |
|
|
inlinestaticprivate |
◆ registry() [2/2]
static V & nngn::lua::static_register::registry |
( |
void |
| ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following files: