Amend 1caef183 (Windows Lua bindings)
authorRobin Gareus <robin@gareus.org>
Tue, 3 Dec 2019 02:29:35 +0000 (03:29 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 3 Dec 2019 02:29:35 +0000 (03:29 +0100)
gtk2_ardour/luainstance.cc

index 12c474229eb47b548a9946c762102dfa8782bf2a..d0529017aec7cd1b25f63a5ddb90d1b7be5b61b1 100644 (file)
@@ -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