Do you want to know where the definition of CPPCMS_API?
You can find it in defs.h file.
#if defined(__WIN32) || defined(_WIN32) || defined(WIN32) ||
defined(__CYGWIN__)
# if defined(DLL_EXPORT)
# if defined(CPPCMS_SOURCE) || defined(CPPCMS_LOCALE_SOURCE)
# define CPPCMS_API __declspec(dllexport)
# else
# define CPPCMS_API __declspec(dllimport)
# endif
# else
# define CPPCMS_API
# endif
#else // ELF BINARIES
# define CPPCMS_API
#endif
陈抒
Best regards
http://blog.csdn.net/sheismylife
On Sun, Dec 25, 2011 at 10:35 AM, 陈抒 <csf...@gm...> wrote:
> What problem should be solved?
>
>
> 陈抒
> Best regards
> http://blog.csdn.net/sheismylife
>
>
> On Sun, Dec 25, 2011 at 10:11 AM, 44073786 <440...@qq...> wrote:
>
>>
>> When i read the source code ,I find the CPPCMS_API in service.h file at
>> 70 line (class CPPCMS_API service).I have never seen this use . what
>> problem did it can solved ? who can tell me it. thank you very much.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Write once. Port to many.
>> Get the SDK and tools to simplify cross-platform app development. Create
>> new or port existing apps to sell to consumers worldwide. Explore the
>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>> http://p.sf.net/sfu/intel-appdev
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>
|