Author: samisa
Date: Wed Nov 2 21:10:16 2005
New Revision: 330458
URL: http://svn.apache.org/viewcvs?rev=330458&view=rev
Log:
macro added
Modified:
webservices/axis2/trunk/c/include/axis2_environment.h
Modified: webservices/axis2/trunk/c/include/axis2_environment.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_environment.h?rev=330458&r1=330457&r2=330458&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_environment.h (original)
+++ webservices/axis2/trunk/c/include/axis2_environment.h Wed Nov 2 21:10:16
2005
@@ -97,9 +97,7 @@
*/
AXIS2_DECLARE(axis2_status_t) axis2_environment_check_status (axis2_env_t
*env);
-/** @} */
-
-AXIS2_ENVIRONMENT_CHECK(env,error_return) \
+ #define AXIS2_ENVIRONMENT_CHECK(env,error_return) \
if(!env || !(*env)) \
{ \
axis2_allocator_t *allocator = axis2_allocator_init (NULL); \
@@ -109,6 +107,10 @@
AXIS2_ERROR_ENVIRONMENT_IS_NULL); \
return error_return; \
} \
+
+/** @} */
+
+