axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r331201 - /webservices/axis2/trunk/c/include/axis2.h
Date Mon, 07 Nov 2005 04:43:36 GMT
Author: damitha
Date: Sun Nov  6 20:43:33 2005
New Revision: 331201

URL: http://svn.apache.org/viewcvs?rev=331201&view=rev
Log:
Parameter order changed for macro AXIS2_ERROR_HANDLE AND AXIS2_PARAM_CHECK

Modified:
    webservices/axis2/trunk/c/include/axis2.h

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=331201&r1=331200&r2=331201&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Sun Nov  6 20:43:33 2005
@@ -42,7 +42,7 @@
  * @return If function return a status code return AXIS2_SUCCESS. Else if
  *         function return a type pointer return NULL
  */
-#define AXIS2_PARAM_CHECK(env, object, error_return) \
+#define AXIS2_PARAM_CHECK(object, env, error_return) \
     if (!object) \
     { \
         AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_INVALID_NULL_PARAM); \
@@ -62,7 +62,7 @@
  * @return If function return a status code return AXIS2_SUCCESS. Else if
  *         function return a type pointer return NULL
  */    
-#define AXIS2_ERROR_SET(env, error_number, error_return) \
+#define AXIS2_ERROR_SET(error_number, env, error_return) \
     { \
         AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_INVALID_NULL_PARAM); \
         AXIS2_ERROR_SET_STATUS_CODE((*env)->error, AXIS2_FAILURE); \



Mime
View raw message