13
0

Add Lua bindings for TempoEditBehavior

See also 8fbf2c3f52
This commit is contained in:
Robin Gareus 2023-04-22 20:54:46 +02:00
parent a7ca4cf8a1
commit 9625d22c0d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1118,6 +1118,7 @@ LuaInstance::register_classes (lua_State* L)
#undef IMPORTMODE
#undef IMPORTPOSITION
#undef IMPORTDISPOSITION
#undef TEMPOEDITBEHAVIOR
#define ZOOMFOCUS(NAME) .addConst (stringify(NAME), (Editing::ZoomFocus)Editing::NAME)
#define GRIDTYPE(NAME) .addConst (stringify(NAME), (Editing::GridType)Editing::NAME)
@ -1127,6 +1128,7 @@ LuaInstance::register_classes (lua_State* L)
#define IMPORTMODE(NAME) .addConst (stringify(NAME), (Editing::ImportMode)Editing::NAME)
#define IMPORTPOSITION(NAME) .addConst (stringify(NAME), (Editing::ImportPosition)Editing::NAME)
#define IMPORTDISPOSITION(NAME) .addConst (stringify(NAME), (Editing::ImportDisposition)Editing::NAME)
#define TEMPOEDITBEHAVIOR(NAME) .addConst (stringify(NAME), (Editing::TempoEditBehavior)Editing::NAME)
luabridge::getGlobalNamespace (L)
.beginNamespace ("Editing")
# include "editing_syms.h"