From 92f5046ae67767a1abb9f3fee783784bdf091469 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 16 Feb 2023 02:19:42 +0100 Subject: [PATCH] Update BBT Lua bindings, add missing BBT_Argument --- libs/ardour/luabindings.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 683b5e5997..2d18248eb7 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -704,7 +704,7 @@ LuaBindings::common (lua_State* L) .endClass () .beginClass ("BBT_TIME") - .addConstructor () + .addConstructor () .addData ("bars", &Temporal::BBT_Time::bars) .addData ("beats", &Temporal::BBT_Time::beats) .addData ("ticks", &Temporal::BBT_Time::ticks) @@ -716,6 +716,10 @@ LuaBindings::common (lua_State* L) // .addStaticData ("ticks_per_beat", &Temporal::ticks_per_beat, false) .endClass () + .deriveClass ("BBT_Argument") + .addConstructor () + .endClass () + .beginClass ("BBT_Offset") .addConstructor () .addData ("bars", &Temporal::BBT_Offset::bars)