---------- Forwarded message ----------
From: Damitha Kumarage <[EMAIL PROTECTED]>
Date: Oct 19, 2005 2:04 AM
Subject: some additions to axis2_defines.h
To: [email protected]
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
- some additions to axis2_defines.h Damitha Kumarage
- Re: some additions to axis2_defines.h nandika jayawardana
- [Axis2] some additions to axis2_defines.h nandika jayawardana
- Re: [Axis2] some additions to axis2_defines.h Samisa Abeysinghe
- [Axis2] Guththila problems Samisa Abeysinghe
- Re: [Axis2] Guththila problems Samisa Abeysinghe
- Re: [Axis2] Guththila problems Samisa Abeysinghe
- [Axis2] Guththila empty tag bug Samisa Abeysinghe
- Re: [Axis2] Guththila empty ... Samisa Abeysinghe
- Re: [Axis2] Guththila problems Dinesh Premalal
- Re: [Axis2] Guththila proble... Samisa Abeysinghe
- [Axis2] Guththila Fails for ... Samisa Abeysinghe
- Re: [Axis2] Guththila Fa... Dinesh Premalal
