Fix Windows builds 1/2 (amend bcbb4393fc
)
This commit is contained in:
parent
38adfdf79e
commit
df12126909
@ -1663,6 +1663,7 @@ private:
|
|||||||
uint32_t _n_lua_scripts;
|
uint32_t _n_lua_scripts;
|
||||||
|
|
||||||
void setup_lua ();
|
void setup_lua ();
|
||||||
|
void luabindings_session_rt (lua_State*);
|
||||||
void try_run_lua (pframes_t);
|
void try_run_lua (pframes_t);
|
||||||
|
|
||||||
SerializedRCUManager<IOPlugList> _io_plugins;
|
SerializedRCUManager<IOPlugList> _io_plugins;
|
||||||
|
@ -3449,6 +3449,20 @@ LuaBindings::session (lua_State* L)
|
|||||||
.endNamespace (); // ARDOUR
|
.endNamespace (); // ARDOUR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR::Session::luabindings_session_rt (lua_State* L)
|
||||||
|
{
|
||||||
|
/* declaration need to be in this file due to Windows CLASSKEYS */
|
||||||
|
luabridge::getGlobalNamespace (L)
|
||||||
|
.beginNamespace ("Ardour")
|
||||||
|
.beginClass <Session> ("Session")
|
||||||
|
/* thse are private to Session */
|
||||||
|
.addFunction ("rt_set_controls", &Session::rt_set_controls)
|
||||||
|
.addFunction ("rt_clear_all_solo_state", &Session::rt_clear_all_solo_state)
|
||||||
|
.endClass ()
|
||||||
|
.endNamespace ();
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
LuaBindings::osc (lua_State* L)
|
LuaBindings::osc (lua_State* L)
|
||||||
{
|
{
|
||||||
|
@ -5690,14 +5690,7 @@ Session::setup_lua ()
|
|||||||
LuaBindings::stddef (L);
|
LuaBindings::stddef (L);
|
||||||
LuaBindings::common (L);
|
LuaBindings::common (L);
|
||||||
LuaBindings::dsp (L);
|
LuaBindings::dsp (L);
|
||||||
luabridge::getGlobalNamespace (L)
|
luabindings_session_rt (L);
|
||||||
.beginNamespace ("Ardour")
|
|
||||||
.beginClass <Session> ("Session")
|
|
||||||
/* thse are private to Session */
|
|
||||||
.addFunction ("rt_set_controls", &Session::rt_set_controls)
|
|
||||||
.addFunction ("rt_clear_all_solo_state", &Session::rt_clear_all_solo_state)
|
|
||||||
.endClass ()
|
|
||||||
.endNamespace ();
|
|
||||||
|
|
||||||
lua_mlock (L, 0);
|
lua_mlock (L, 0);
|
||||||
luabridge::push <Session *> (L, this);
|
luabridge::push <Session *> (L, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user