axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damitha Kumarage <damith...@gmail.com>
Subject some additions to axis2_defines.h
Date Wed, 19 Oct 2005 09:04:53 GMT
Hi,

I'll add following code into axis2_defines.h to identify calling 
conventions on different platforms

#if defined(__GNUC__)
#define AXIS2_CALL __attribute__((cdecl))
#else /* unix or win32 */
#if defined(__unix)
#define AXIS2_CALL
#else
#define AXIS2_CALL __stdcall
#endif

so that exposed functions can be declared as
void AXISCALL axis2_exposed_function()

I'll also add following

#if defined(WIN32)
#define AXIS2_STORAGE_CLASS_INFO __declspec(dllexport)
#else
#define AXIS2_STORAGE_CLASS_INFO
#endif

regards,
damitha


Mime
View raw message