Add a Lua binding to determine Ardour version
This commit is contained in:
parent
8642f5476d
commit
a01377f168
@ -84,6 +84,7 @@
|
||||
#include "ardour/region.h"
|
||||
#include "ardour/region_factory.h"
|
||||
#include "ardour/return.h"
|
||||
#include "ardour/revision.h"
|
||||
#include "ardour/route_group.h"
|
||||
#include "ardour/send.h"
|
||||
#include "ardour/session.h"
|
||||
@ -757,6 +758,8 @@ LuaBindings::common (lua_State* L)
|
||||
luabridge::getGlobalNamespace (L)
|
||||
.beginNamespace ("ARDOUR")
|
||||
|
||||
.addConst ("revision", ARDOUR::revision)
|
||||
|
||||
.beginClass <InterThreadInfo> ("InterThreadInfo")
|
||||
.addVoidConstructor ()
|
||||
.addData ("done", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::done))
|
||||
|
Loading…
Reference in New Issue
Block a user