From 2ef673b15e6ec590becabfca4c0dcc020649c484 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 13 Sep 2020 23:56:36 +0200 Subject: [PATCH] Add convenient Lua binding to query automation --- libs/ardour/luabindings.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 38118f664c..0f2826af46 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -575,6 +575,7 @@ LuaBindings::common (lua_State* L) .addFunction ("clear_list", (void (Evoral::ControlList::*)())&Evoral::ControlList::clear) .addFunction ("in_write_pass", &Evoral::ControlList::in_write_pass) .addFunction ("events", &Evoral::ControlList::events) + .addFunction ("size", &Evoral::ControlList::size) .endClass () .beginWSPtrClass ("ControlSet")