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
@ -51,8 +51,14 @@
|
||||
6. Our metatables have "__metatable" set to a boolean = false.
|
||||
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 ();
|
||||
# endif
|
||||
#else
|
||||
inline void* getIdentityKey ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user