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 pi...@apache.org on 2007/03/19 12:28:32 UTC

svn commit: r519911 - in /webservices/axis2/trunk/c: include/axis2_async_result.h modules/core/clientapi/callback.c modules/core/clientapi/callback_recv.c modules/core/clientapi/op_client.c

Author: pini
Date: Mon Mar 19 04:28:31 2007
New Revision: 519911

URL: http://svn.apache.org/viewvc?view=rev&rev=519911
Log:
Dropped macros

Modified:
    webservices/axis2/trunk/c/include/axis2_async_result.h
    webservices/axis2/trunk/c/modules/core/clientapi/callback.c
    webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c
    webservices/axis2/trunk/c/modules/core/clientapi/op_client.c

Modified: webservices/axis2/trunk/c/include/axis2_async_result.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_async_result.h?view=diff&rev=519911&r1=519910&r2=519911
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_async_result.h (original)
+++ webservices/axis2/trunk/c/include/axis2_async_result.h Mon Mar 19 04:28:31 2007
@@ -86,17 +86,6 @@
     axis2_async_result_create(const axis2_env_t *env,
         axis2_msg_ctx_t *result);
 
-/** Gets the envelope. */
-#define AXIS2_ASYNC_RESULT_GET_ENVELOPE(async_result, env) \
-      axis2_async_result_get_envelope(async_result, env)
-
-/** Gets the result. */
-#define AXIS2_ASYNC_RESULT_GET_RESULT(async_result, env) \
-      axis2_async_result_get_result(async_result, env)
-
-/** Free. */
-#define AXIS2_ASYNC_RESULT_FREE(async_result, env) \
-      axis2_async_result_free (async_result, env)
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/callback.c?view=diff&rev=519911&r1=519910&r2=519911
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback.c Mon Mar 19 04:28:31 2007
@@ -107,7 +107,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     axis2_callback_set_envelope(callback, env,
-            AXIS2_ASYNC_RESULT_GET_ENVELOPE(result, env));
+            axis2_async_result_get_envelope(result, env));
     status = callback->on_complete(callback, env);
 
     return status;

Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c?view=diff&rev=519911&r1=519910&r2=519911
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c Mon Mar 19 04:28:31 2007
@@ -185,7 +185,7 @@
                      axis2_msg_ctx_set_soap_envelope(msg_ctx, env, NULL);
                 }
 
-                AXIS2_ASYNC_RESULT_FREE(result, env);
+                axis2_async_result_free(result, env);
                 if (callback && result)
                     return AXIS2_SUCCESS;
             }

Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?view=diff&rev=519911&r1=519910&r2=519911
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Mon Mar 19 04:28:31 2007
@@ -582,7 +582,7 @@
     AXIS2_CALLBACK_SET_COMPLETE(args_list->callback, th_env, AXIS2_TRUE);
 
     /* clean up memory */
-    AXIS2_ASYNC_RESULT_FREE(args_list->op_client->async_result, th_env);
+    axis2_async_result_free(args_list->op_client->async_result, th_env);
     
      axis2_op_ctx_free(op_ctx, th_env);
         



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org