projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ca91a
)
Amend 1caef183 (Windows Lua bindings)
author
Robin Gareus
<robin@gareus.org>
Tue, 3 Dec 2019 02:29:35 +0000
(
03:29
+0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 3 Dec 2019 02:29:35 +0000
(
03:29
+0100)
gtk2_ardour/luainstance.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/luainstance.cc
b/gtk2_ardour/luainstance.cc
index 12c474229eb47b548a9946c762102dfa8782bf2a..d0529017aec7cd1b25f63a5ddb90d1b7be5b61b1 100644
(file)
--- a/
gtk2_ardour/luainstance.cc
+++ b/
gtk2_ardour/luainstance.cc
@@
-89,6
+89,11
@@
luabridge::ClassInfo<T>::getConstKey ()
return &value;
}
+#define CLASSKEYS(CLS) \
+ template void const* luabridge::ClassInfo< CLS >::getStaticKey(); \
+ template void const* luabridge::ClassInfo< CLS >::getClassKey(); \
+ template void const* luabridge::ClassInfo< CLS >::getConstKey();
+
CLASSKEYS(std::vector<double>);
#endif