mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Fix Windows builds 1/2 (amend bcbb4393fc)
This commit is contained in:
parent
38adfdf79e
commit
df12126909
3 changed files with 16 additions and 8 deletions
|
|
@ -1663,6 +1663,7 @@ private:
|
|||
uint32_t _n_lua_scripts;
|
||||
|
||||
void setup_lua ();
|
||||
void luabindings_session_rt (lua_State*);
|
||||
void try_run_lua (pframes_t);
|
||||
|
||||
SerializedRCUManager<IOPlugList> _io_plugins;
|
||||
|
|
|
|||
|
|
@ -3449,6 +3449,20 @@ LuaBindings::session (lua_State* L)
|
|||
.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
|
||||
LuaBindings::osc (lua_State* L)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5690,14 +5690,7 @@ Session::setup_lua ()
|
|||
LuaBindings::stddef (L);
|
||||
LuaBindings::common (L);
|
||||
LuaBindings::dsp (L);
|
||||
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 ();
|
||||
luabindings_session_rt (L);
|
||||
|
||||
lua_mlock (L, 0);
|
||||
luabridge::push <Session *> (L, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue