Janus Lua plugin extra hooks (headers) More...
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
Go to the source code of this file.
Functions | |
void | janus_lua_register_extra_functions (lua_State *state) |
Method to register extra Lua functions in the C code. More... | |
Janus Lua plugin extra hooks (headers)
More specifically, the Janus Lua plugin will always invoke the janus_lua_register_extra_functions() method when initializing. This means that all developers will need to do to register a new function is adding new lua_register
calls to register their own functions there, and they'll be added to the stack.
void janus_lua_register_extra_functions | ( | lua_State * | state | ) |
Method to register extra Lua functions in the C code.
[in] | state | The Lua state to register the functions on |