Ardour  9.0-pre0-582-g084a23a80d
luabridge Namespace Reference

Classes

struct  Stack
 
class  Security
 

Functions

template<class T >
void push (lua_State *L, T t)
 
template<class T >
void setGlobal (lua_State *L, T t, char const *name)
 
void setHideMetatables (bool shouldHide)
 

Function Documentation

◆ push()

template<class T >
void luabridge::push ( lua_State L,
t 
)
inline

Push an object onto the Lua stack.

Definition at line 159 of file LuaBridge.h.

◆ setGlobal()

template<class T >
void luabridge::setGlobal ( lua_State L,
t,
char const *  name 
)
inline

Set a global value in the lua_State.

Note
This works on any type specialized by Stack, including LuaRef and its table proxies.

Definition at line 172 of file LuaBridge.h.

◆ setHideMetatables()

void luabridge::setHideMetatables ( bool  shouldHide)
inline

Change whether or not metatables are hidden (on by default).

Definition at line 182 of file LuaBridge.h.