mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Modify 'getIdentityKey()' function to have LuaBridge_API linkage when building with MSVC (rather than simply 'extern')
This commit is contained in:
parent
e6dcc2d77d
commit
6f7ac64d42
1 changed files with 7 additions and 1 deletions
|
|
@ -51,8 +51,14 @@
|
||||||
6. Our metatables have "__metatable" set to a boolean = false.
|
6. Our metatables have "__metatable" set to a boolean = false.
|
||||||
7. Our lightuserdata is unique.
|
7. Our lightuserdata is unique.
|
||||||
*/
|
*/
|
||||||
#ifdef PLATFORM_WINDOWS
|
|
||||||
|
#ifdef PLATFORM_WINDOWS
|
||||||
|
# ifdef COMPILER_MSVC
|
||||||
|
#include "LuaBridge/LuaBridge.h" /* Needed for LuaBridge_API */
|
||||||
|
LuaBridge_API void* getIdentityKey ();
|
||||||
|
# else
|
||||||
extern void* getIdentityKey ();
|
extern void* getIdentityKey ();
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
inline void* getIdentityKey ()
|
inline void* getIdentityKey ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue