|
Lua_icxx
1.02 (Aug 2011)
|
00001 /* 00002 This file is part of the Lua_icxx library. 00003 Copyright 2010 (c) by Oliver Schoenborn. 00004 License terms in LICENSE.txt. 00005 */ 00006 00007 00008 // The following ifdef block is the standard way of creating macros which make exporting 00009 // from a DLL simpler. All files within this DLL are compiled with the LUA_ICXX_DLL_EXPORTS 00010 // symbol defined on the command line. this symbol should not be defined on any project 00011 // that uses this DLL. This way any other project whose source files include this file see 00012 // LUA_ICXX_CPP_API functions as being imported from a DLL, whereas this DLL sees symbols 00013 // defined with this macro as being exported. 00014 #ifdef WIN32 00015 #ifdef LUA_ICXX_DLL_EXPORTS 00016 #define LUA_ICXX_CPP_API __declspec(dllexport) 00017 #else 00018 #define LUA_ICXX_CPP_API __declspec(dllimport) 00019 #endif 00020 #else 00021 #define LUA_ICXX_CPP_API 00022 #endif 00023