|
|
@ -152,17 +152,17 @@
|
|
|
|
** LUA_BUILD_AS_DLL to get it).
|
|
|
|
** LUA_BUILD_AS_DLL to get it).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if defined(LUA_BUILD_AS_DLL)
|
|
|
|
#if defined(LUA_BUILD_AS_DLL)
|
|
|
|
|
|
|
|
#if defined(LUA_CORE) || defined(LUA_LIB)
|
|
|
|
#if defined(LUA_CORE) || defined(LUA_LIB)
|
|
|
|
#define LUA_API __declspec(dllexport)
|
|
|
|
#define LUA_API __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define LUA_API __declspec(dllimport)
|
|
|
|
#define LUA_API __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define LUA_API extern
|
|
|
|
#define LUA_API extern "C"
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define LUA_API extern
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* more often than not the libs go together with the core */
|
|
|
|
/* more often than not the libs go together with the core */
|
|
|
|