Fork me on GitHub
Functions
janus_lua_extra.c File Reference

Janus Lua plugin extra hooks. More...

#include "janus_lua_data.h"
#include "janus_lua_extra.h"
Include dependency graph for janus_lua_extra.c:

Functions

void janus_lua_register_extra_functions (lua_State *state)
 Method to register extra Lua functions in the C code. More...
 

Detailed Description

Janus Lua plugin extra hooks.

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

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.

Lua plugin API

Function Documentation

◆ janus_lua_register_extra_functions()

void janus_lua_register_extra_functions ( lua_State *  state)

Method to register extra Lua functions in the C code.

Parameters
[in]stateThe Lua state to register the functions on