You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by se...@apache.org on 2008/03/16 21:18:46 UTC
svn commit: r637641 -
/webservices/axis2/trunk/c/util/include/axutil_utils_defines.h
Author: senaka
Date: Sun Mar 16 13:18:45 2008
New Revision: 637641
URL: http://svn.apache.org/viewvc?rev=637641&view=rev
Log:
Adding AXIS2_WUR, AXIS2_STRING() and AXIS2_CHAR()
Modified:
webservices/axis2/trunk/c/util/include/axutil_utils_defines.h
Modified: webservices/axis2/trunk/c/util/include/axutil_utils_defines.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_utils_defines.h?rev=637641&r1=637640&r2=637641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_utils_defines.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_utils_defines.h Sun Mar 16 13:18:45 2008
@@ -76,6 +76,10 @@
typedef unsigned int axis2_ssize_t;
typedef char axis2_byte_t;
+#define AXIS2_STRING(s) s
+
+#define AXIS2_CHAR(c) c
+
#define AXIS2_CRLF_LENGTH 2
/* These constant definitions should later be moved to platform dependant
@@ -114,18 +118,22 @@
#if defined(__GNUC__)
#if defined(__i386)
#define AXIS2_CALL __attribute__((cdecl))
+#define AXIS2_WUR __attribute__((warn_unused_result))
#else
#define AXIS2_CALL
+#define AXIS2_WUR
#endif
#else
#if defined(__unix)
#define AXIS2_CALL
+#define AXIS2_WUR
#else /* WIN32 */
#define AXIS2_CALL __stdcall
+#define AXIS2_WUR
#endif
#endif
#define AXIS2_THREAD_FUNC AXIS2_CALL
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org