axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r410750 [3/11] - in /webservices/axis2/trunk/c: woden/include/woden/wsdl20/ woden/include/woden/wsdl20/enumeration/ woden/include/woden/wsdl20/extensions/ woden/include/woden/wsdl20/xml/ woden/include/woden/xml/ woden/src/wsdl20/ woden/src/...
Date Thu, 01 Jun 2006 05:18:49 GMT
Modified: webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault.c Wed May 31 22:18:45 2006
@@ -46,22 +46,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_interface_fault_free(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_interface_fault_super_objs(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_interface_fault_type(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_fault_get_base_impl(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Fault methods (the WSDL Component model)
@@ -69,17 +69,17 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_get_qname(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_get_element_declaration(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_to_element(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface FaultElement interface_fault methods (the XML Element model)
@@ -87,24 +87,24 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_qname(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_element_qname(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_get_element_qname(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_get_element(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ******************************************************************
  * Non-API implementation methods
@@ -113,28 +113,28 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_element_declaration(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element_decl);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_types(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types);
 
 static axis2_woden_interface_fault_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_interface_fault_free_ops(
         void *interface_fault,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_interface_fault_t *)
 axis2_woden_interface_fault_to_interface_fault_element(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
    
@@ -149,7 +149,7 @@
     axis2_woden_interface_fault_free_ops(interface_fault, env);
 
     interface_fault_impl->interface_fault.base.interface_fault_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_interface_fault_element_ops_t));
     axis2_woden_interface_fault_element_resolve_methods(&(interface_fault_impl->interface_fault.base.
             interface_fault_element), env, interface_fault_impl->methods);
@@ -159,7 +159,7 @@
 AXIS2_DECLARE(axis2_woden_interface_fault_t *)
 axis2_woden_interface_fault_to_nested_configurable(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
    
@@ -174,7 +174,7 @@
     axis2_woden_interface_fault_free_ops(interface_fault, env);
 
     interface_fault_impl->interface_fault.base.nested_configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_configurable_ops_t));
     axis2_woden_nested_configurable_resolve_methods(&(interface_fault_impl->interface_fault.base.
             nested_configurable), env, interface_fault_impl->nested_configurable, 
@@ -185,7 +185,7 @@
 AXIS2_DECLARE(axis2_woden_interface_fault_t *)
 axis2_woden_interface_fault_to_configurable(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     void *configurable = NULL;
@@ -201,7 +201,7 @@
     axis2_woden_interface_fault_free_ops(interface_fault, env);
 
     interface_fault_impl->interface_fault.base.nested_configurable.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     configurable = AXIS2_WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
             interface_fault_impl->nested_configurable, env);
@@ -212,12 +212,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_interface_fault_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    interface_fault_impl = AXIS2_MALLOC((*env)->allocator, 
+    interface_fault_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_interface_fault_impl_t));
 
     interface_fault_impl->obj_type= AXIS2_WODEN_INTERFACE_FAULT;
@@ -233,7 +233,7 @@
     interface_fault_impl->interface_fault.base.nested_configurable.base.configurable.ops = 
             NULL;
     
-    interface_fault_impl->interface_fault.ops = AXIS2_MALLOC((*env)->allocator, 
+    interface_fault_impl->interface_fault.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_interface_fault_ops_t));
 
     interface_fault_impl->interface_fault.ops->free = axis2_woden_interface_fault_free;
@@ -250,7 +250,7 @@
     interface_fault_impl->methods = axis2_hash_make(env);
     if(!interface_fault_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_fault_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -292,7 +292,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_interface_fault_t *)
-axis2_woden_interface_fault_create(axis2_env_t **env)
+axis2_woden_interface_fault_create(const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     void *configurable = NULL;
@@ -305,7 +305,7 @@
     interface_fault_impl->super = axis2_hash_make(env);
     if(!interface_fault_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_fault_impl->super, "AXIS2_WODEN_INTERFACE_FAULT", 
@@ -325,7 +325,7 @@
 static axis2_status_t
 axis2_woden_interface_fault_free_ops(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
 
@@ -334,14 +334,14 @@
 
     if(interface_fault_impl->interface_fault.base.interface_fault_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_impl->interface_fault.base.
+        AXIS2_FREE(env->allocator, interface_fault_impl->interface_fault.base.
                 interface_fault_element.ops);
         interface_fault_impl->interface_fault.base.interface_fault_element.ops = NULL;
     }
 
     if(interface_fault_impl->interface_fault.base.nested_configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_impl->interface_fault.base.
+        AXIS2_FREE(env->allocator, interface_fault_impl->interface_fault.base.
                 nested_configurable.ops);
         interface_fault_impl->interface_fault.base.nested_configurable.ops = 
             NULL;
@@ -349,7 +349,7 @@
     
     if(interface_fault_impl->interface_fault.base.nested_configurable.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_impl->interface_fault.base.
+        AXIS2_FREE(env->allocator, interface_fault_impl->interface_fault.base.
                 nested_configurable.base.configurable.ops);
         interface_fault_impl->interface_fault.base.nested_configurable.base.configurable.ops = 
             NULL;
@@ -362,7 +362,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_free(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
 
@@ -417,7 +417,7 @@
 
     if(interface_fault_impl)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_impl);
+        AXIS2_FREE(env->allocator, interface_fault_impl);
         interface_fault_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -426,7 +426,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_interface_fault_super_objs(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
 
@@ -439,7 +439,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_interface_fault_type(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
 
@@ -452,7 +452,7 @@
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_fault_get_base_impl(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
 
@@ -465,14 +465,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_resolve_methods(
         axis2_woden_interface_fault_t *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_interface_fault_t *interface_fault_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     interface_fault_impl_l = INTF_TO_IMPL(interface_fault_impl);
     
     interface_fault->ops->free = axis2_hash_get(methods, "free", 
@@ -509,7 +509,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_get_qname(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -525,7 +525,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_get_element_declaration(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -541,7 +541,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_to_element(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -560,14 +560,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_qname(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_SUPER_OBJS(interface_fault, env);
     interface_fault_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT", AXIS2_HASH_KEY_STRING));
@@ -583,14 +583,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_element_qname(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_SUPER_OBJS(interface_fault, env);
     interface_fault_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT", AXIS2_HASH_KEY_STRING));
@@ -608,7 +608,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_get_element_qname(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -624,7 +624,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_get_element(
         void *interface_fault,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -646,14 +646,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_element_declaration(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element_decl)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element_decl, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element_decl, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_SUPER_OBJS(interface_fault, env);
     interface_fault_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT", AXIS2_HASH_KEY_STRING));
@@ -671,14 +671,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_set_types(
         void *interface_fault,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types)
 {
     axis2_woden_interface_fault_impl_t *interface_fault_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, types, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, types, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_SUPER_OBJS(interface_fault, env);
     interface_fault_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT", AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault_ref.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault_ref.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/interface_fault_ref.c Wed May 31 22:18:45 2006
@@ -46,22 +46,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_interface_fault_ref_free(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_interface_fault_ref_super_objs(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_interface_fault_ref_type(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_base_impl(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Fault Reference  methods (the WSDL Component model)
@@ -69,22 +69,22 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_interface_fault(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_msg_label(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_direction(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_to_element(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Fault Reference Element methods (the XML Element model)
@@ -92,29 +92,29 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_ref(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *fault_qname);
 
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_ref(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_interface_fault_element(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_msg_label(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_label);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_direction(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *dir);
 
 /* ************************************************************
@@ -123,22 +123,22 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_interface_fault(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault);
 
 static axis2_woden_interface_fault_ref_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_interface_fault_ref_free_ops(
         void *interface_fault_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_interface_fault_ref_t *)
 axis2_woden_interface_fault_ref_to_interface_fault_ref_element(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
    
@@ -153,7 +153,7 @@
     axis2_woden_interface_fault_ref_free_ops(interface_fault_ref, env);
 
     interface_fault_ref_impl->interface_fault_ref.base.interface_fault_ref_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_interface_fault_ref_element_ops_t));
     axis2_woden_interface_fault_ref_element_resolve_methods(&(interface_fault_ref_impl->interface_fault_ref.base.
             interface_fault_ref_element), env, interface_fault_ref_impl->methods);
@@ -163,7 +163,7 @@
 AXIS2_DECLARE(axis2_woden_interface_fault_ref_t *)
 axis2_woden_interface_fault_ref_to_nested_configurable(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
    
@@ -178,7 +178,7 @@
     axis2_woden_interface_fault_ref_free_ops(interface_fault_ref, env);
 
     interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_configurable_ops_t));
     axis2_woden_nested_configurable_resolve_methods(&(interface_fault_ref_impl->interface_fault_ref.base.
             nested_configurable), env, interface_fault_ref_impl->nested_configurable, 
@@ -189,7 +189,7 @@
 AXIS2_DECLARE(axis2_woden_interface_fault_ref_t *)
 axis2_woden_interface_fault_ref_to_configurable(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     void *configurable = NULL;
@@ -205,7 +205,7 @@
     axis2_woden_interface_fault_ref_free_ops(interface_fault_ref, env);
 
     interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     configurable = AXIS2_WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
             interface_fault_ref_impl->nested_configurable, env);
@@ -216,12 +216,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_interface_fault_ref_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    interface_fault_ref_impl = AXIS2_MALLOC((*env)->allocator, 
+    interface_fault_ref_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_interface_fault_ref_impl_t));
 
     interface_fault_ref_impl->obj_type= AXIS2_WODEN_INTERFACE_FAULT_REF;
@@ -237,7 +237,7 @@
     interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.base.configurable.ops = 
             NULL;
     
-    interface_fault_ref_impl->interface_fault_ref.ops = AXIS2_MALLOC((*env)->allocator, 
+    interface_fault_ref_impl->interface_fault_ref.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_interface_fault_ref_ops_t));
 
     interface_fault_ref_impl->interface_fault_ref.ops->free = axis2_woden_interface_fault_ref_free;
@@ -257,7 +257,7 @@
     interface_fault_ref_impl->methods = axis2_hash_make(env);
     if(!interface_fault_ref_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_fault_ref_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -302,7 +302,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_interface_fault_ref_t *)
-axis2_woden_interface_fault_ref_create(axis2_env_t **env)
+axis2_woden_interface_fault_ref_create(const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     void *configurable = NULL;
@@ -315,7 +315,7 @@
     interface_fault_ref_impl->super = axis2_hash_make(env);
     if(!interface_fault_ref_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_fault_ref_impl->super, "AXIS2_WODEN_INTERFACE_FAULT_REF", 
@@ -335,7 +335,7 @@
 static axis2_status_t
 axis2_woden_interface_fault_ref_free_ops(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
 
@@ -344,14 +344,14 @@
 
     if(interface_fault_ref_impl->interface_fault_ref.base.interface_fault_ref_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_ref_impl->interface_fault_ref.base.
+        AXIS2_FREE(env->allocator, interface_fault_ref_impl->interface_fault_ref.base.
                 interface_fault_ref_element.ops);
         interface_fault_ref_impl->interface_fault_ref.base.interface_fault_ref_element.ops = NULL;
     }
 
     if(interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_ref_impl->interface_fault_ref.base.
+        AXIS2_FREE(env->allocator, interface_fault_ref_impl->interface_fault_ref.base.
                 nested_configurable.ops);
         interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.ops = 
             NULL;
@@ -359,7 +359,7 @@
     
     if(interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_ref_impl->interface_fault_ref.base.
+        AXIS2_FREE(env->allocator, interface_fault_ref_impl->interface_fault_ref.base.
                 nested_configurable.base.configurable.ops);
         interface_fault_ref_impl->interface_fault_ref.base.nested_configurable.base.configurable.ops = 
             NULL;
@@ -372,7 +372,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_free(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
 
@@ -421,13 +421,13 @@
 
     if((&(interface_fault_ref_impl->interface_fault_ref))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(interface_fault_ref_impl->interface_fault_ref))->ops);
+        AXIS2_FREE(env->allocator, (&(interface_fault_ref_impl->interface_fault_ref))->ops);
         (&(interface_fault_ref_impl->interface_fault_ref))->ops = NULL;
     }
     
     if(interface_fault_ref_impl)
     {
-        AXIS2_FREE((*env)->allocator, interface_fault_ref_impl);
+        AXIS2_FREE(env->allocator, interface_fault_ref_impl);
         interface_fault_ref_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -436,7 +436,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_interface_fault_ref_super_objs(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
 
@@ -449,7 +449,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_interface_fault_ref_type(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
 
@@ -462,7 +462,7 @@
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_base_impl(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
 
@@ -475,14 +475,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_resolve_methods(
         axis2_woden_interface_fault_ref_t *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_interface_fault_ref_t *interface_fault_ref_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     interface_fault_ref_impl_l = INTF_TO_IMPL(interface_fault_ref_impl);
     
     interface_fault_ref->ops->free = axis2_hash_get(methods, "free", 
@@ -525,7 +525,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_interface_fault(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -541,7 +541,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_msg_label(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -557,7 +557,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_direction(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -572,7 +572,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_to_element(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -591,14 +591,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_ref(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *fault_qname)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, fault_qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault_qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_REF_SUPER_OBJS(interface_fault_ref, env);
     interface_fault_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT_REF", AXIS2_HASH_KEY_STRING));
@@ -614,7 +614,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_ref(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -630,7 +630,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_fault_ref_get_interface_fault_element(
         void *interface_fault_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -646,14 +646,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_msg_label(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_label)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_label, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_REF_SUPER_OBJS(interface_fault_ref, env);
     interface_fault_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT_REF", AXIS2_HASH_KEY_STRING));
@@ -671,14 +671,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_direction(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *dir)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, dir, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, dir, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_REF_SUPER_OBJS(interface_fault_ref, env);
     interface_fault_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT_REF", AXIS2_HASH_KEY_STRING));
@@ -699,14 +699,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_set_interface_fault(
         void *interface_fault_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault)
 {
     axis2_woden_interface_fault_ref_impl_t *interface_fault_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, fault, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_FAULT_REF_SUPER_OBJS(interface_fault_ref, env);
     interface_fault_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_FAULT_REF", AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/interface_msg_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/interface_msg_ref.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/interface_msg_ref.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/interface_msg_ref.c Wed May 31 22:18:45 2006
@@ -48,22 +48,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_interface_msg_ref_free(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_interface_msg_ref_super_objs(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_interface_msg_ref_type(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_base_impl(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Message Reference  methods (the WSDL Component model)
@@ -72,27 +72,27 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_msg_label(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_direction(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_msg_content_model(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element_declaration(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_to_element(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Message Reference Element methods (the XML Element model)
@@ -101,37 +101,37 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_msg_label(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_label);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_direction(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *dir);
 
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_msg_content_model(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *nm_token);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_element_qname(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *element);
 
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element_qname(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Non-API implementation methods
@@ -139,29 +139,29 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_element_declaration(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_types(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types);
 
 
 static axis2_woden_interface_msg_ref_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_interface_msg_ref_free_ops(
         void *interface_msg_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_interface_msg_ref_t *)
 axis2_woden_interface_msg_ref_to_interface_msg_ref_element(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
    
@@ -176,7 +176,7 @@
     axis2_woden_interface_msg_ref_free_ops(interface_msg_ref, env);
 
     interface_msg_ref_impl->interface_msg_ref.base.interface_msg_ref_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_interface_msg_ref_element_ops_t));
     axis2_woden_interface_msg_ref_element_resolve_methods(&(interface_msg_ref_impl->interface_msg_ref.base.
             interface_msg_ref_element), env, interface_msg_ref_impl->methods);
@@ -186,7 +186,7 @@
 AXIS2_DECLARE(axis2_woden_interface_msg_ref_t *)
 axis2_woden_interface_msg_ref_to_nested_configurable(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
    
@@ -201,7 +201,7 @@
     axis2_woden_interface_msg_ref_free_ops(interface_msg_ref, env);
 
     interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_configurable_ops_t));
     axis2_woden_nested_configurable_resolve_methods(&(interface_msg_ref_impl->interface_msg_ref.base.
             nested_configurable), env, interface_msg_ref_impl->nested_configurable, 
@@ -212,7 +212,7 @@
 AXIS2_DECLARE(axis2_woden_interface_msg_ref_t *)
 axis2_woden_interface_msg_ref_to_configurable(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     void *configurable = NULL;
@@ -228,7 +228,7 @@
     axis2_woden_interface_msg_ref_free_ops(interface_msg_ref, env);
 
     interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     configurable = AXIS2_WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
             interface_msg_ref_impl->nested_configurable, env);
@@ -239,12 +239,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_interface_msg_ref_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    interface_msg_ref_impl = AXIS2_MALLOC((*env)->allocator, 
+    interface_msg_ref_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_interface_msg_ref_impl_t));
 
     interface_msg_ref_impl->obj_type= AXIS2_WODEN_INTERFACE_MSG_REF;
@@ -261,7 +261,7 @@
     interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.base.configurable.ops = 
             NULL;
     
-    interface_msg_ref_impl->interface_msg_ref.ops = AXIS2_MALLOC((*env)->allocator, 
+    interface_msg_ref_impl->interface_msg_ref.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_interface_msg_ref_ops_t));
 
     interface_msg_ref_impl->interface_msg_ref.ops->free = axis2_woden_interface_msg_ref_free;
@@ -287,7 +287,7 @@
     interface_msg_ref_impl->methods = axis2_hash_make(env);
     if(!interface_msg_ref_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_msg_ref_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -341,7 +341,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_interface_msg_ref_t *)
-axis2_woden_interface_msg_ref_create(axis2_env_t **env)
+axis2_woden_interface_msg_ref_create(const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     void *configurable = NULL;
@@ -354,7 +354,7 @@
     interface_msg_ref_impl->super = axis2_hash_make(env);
     if(!interface_msg_ref_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_msg_ref_impl->super, "AXIS2_WODEN_INTERFACE_MSG_REF", 
@@ -374,7 +374,7 @@
 static axis2_status_t
 axis2_woden_interface_msg_ref_free_ops(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
 
@@ -383,14 +383,14 @@
 
     if(interface_msg_ref_impl->interface_msg_ref.base.interface_msg_ref_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl->interface_msg_ref.base.
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl->interface_msg_ref.base.
                 interface_msg_ref_element.ops);
         interface_msg_ref_impl->interface_msg_ref.base.interface_msg_ref_element.ops = NULL;
     }
 
     if(interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl->interface_msg_ref.base.
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl->interface_msg_ref.base.
                 nested_configurable.ops);
         interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.ops = 
             NULL;
@@ -398,7 +398,7 @@
     
     if(interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl->interface_msg_ref.base.
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl->interface_msg_ref.base.
                 nested_configurable.base.configurable.ops);
         interface_msg_ref_impl->interface_msg_ref.base.nested_configurable.base.configurable.ops = 
             NULL;
@@ -410,7 +410,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_free(void *interface_msg_ref,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
 
@@ -432,7 +432,7 @@
 
     if(interface_msg_ref_impl->f_msg_content_model)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl->f_msg_content_model);
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl->f_msg_content_model);
         interface_msg_ref_impl->f_msg_content_model = NULL;
     }
 
@@ -477,13 +477,13 @@
 
     if((&(interface_msg_ref_impl->interface_msg_ref))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(interface_msg_ref_impl->interface_msg_ref))->ops);
+        AXIS2_FREE(env->allocator, (&(interface_msg_ref_impl->interface_msg_ref))->ops);
         (&(interface_msg_ref_impl->interface_msg_ref))->ops = NULL;
     }
     
     if(interface_msg_ref_impl)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl);
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl);
         interface_msg_ref_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -492,7 +492,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_super_objs(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
 
@@ -505,7 +505,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_interface_msg_ref_type(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
 
@@ -518,7 +518,7 @@
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_base_impl(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
 
@@ -531,14 +531,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_resolve_methods(
         axis2_woden_interface_msg_ref_t *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_interface_msg_ref_t *interface_msg_ref_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     interface_msg_ref_impl_l = INTF_TO_IMPL(interface_msg_ref_impl);
     
     interface_msg_ref->ops->free = axis2_hash_get(methods, "free", 
@@ -600,7 +600,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_msg_label(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -616,7 +616,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_direction(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -632,7 +632,7 @@
 axis2_char_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_msg_content_model(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -648,7 +648,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element_declaration(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -664,7 +664,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_to_element(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -684,14 +684,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_msg_label(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_label)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_label, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));
@@ -709,14 +709,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_direction(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *dir)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, dir, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, dir, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));
@@ -735,21 +735,21 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_msg_content_model(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *nm_token)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, nm_token, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, nm_token, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));
 
     if(interface_msg_ref_impl->f_msg_content_model)
     {
-        AXIS2_FREE((*env)->allocator, interface_msg_ref_impl->f_msg_content_model);
+        AXIS2_FREE(env->allocator, interface_msg_ref_impl->f_msg_content_model);
     }
     interface_msg_ref_impl->f_msg_content_model = AXIS2_STRDUP(nm_token, env);
     return AXIS2_SUCCESS;
@@ -758,14 +758,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_element_qname(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *element)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));
@@ -781,7 +781,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element_qname(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -797,7 +797,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_msg_ref_get_element(
         void *interface_msg_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -824,14 +824,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_element_declaration(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));
@@ -848,14 +848,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_set_types(
         void *interface_msg_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types)
 {
     axis2_woden_interface_msg_ref_impl_t *interface_msg_ref_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, types, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, types, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_MSG_REF_SUPER_OBJS(interface_msg_ref, env);
     interface_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_MSG_REF", AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/interface_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/interface_op.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/interface_op.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/interface_op.c Wed May 31 22:18:45 2006
@@ -47,22 +47,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_interface_op_free(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_interface_op_super_objs(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_interface_op_type(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_op_get_base_impl(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Operation  methods (the WSDL Component model)
@@ -71,32 +71,32 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_op_get_qname(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_interface_op_get_msg_exchange_pattern(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_msg_refs(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_fault_refs(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_style(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_op_to_element(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface Operation Element methods (the XML Element model)
@@ -105,79 +105,79 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_set_qname(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_set_pattern(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_interface_op_get_pattern(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_style_uri(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_style_uri(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_interface_msg_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_ref);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_interface_msg_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_ref);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_msg_ref_elements(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_interface_fault_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault_ref);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_interface_fault_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault_ref);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_fault_ref_elements(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_interface_op_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_interface_op_free_ops(
         void *interface_op,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_interface_op_t *)
 axis2_woden_interface_op_to_interface_op_element(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
    
@@ -192,7 +192,7 @@
     axis2_woden_interface_op_free_ops(interface_op, env);
 
     interface_op_impl->interface_op.base.interface_op_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_interface_op_element_ops_t));
     axis2_woden_interface_op_element_resolve_methods(&(interface_op_impl->interface_op.base.
             interface_op_element), env, interface_op_impl->methods);
@@ -202,7 +202,7 @@
 AXIS2_DECLARE(axis2_woden_interface_op_t *)
 axis2_woden_interface_op_to_nested_configurable(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
    
@@ -217,7 +217,7 @@
     axis2_woden_interface_op_free_ops(interface_op, env);
 
     interface_op_impl->interface_op.base.nested_configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_configurable_ops_t));
     axis2_woden_nested_configurable_resolve_methods(&(interface_op_impl->interface_op.base.
             nested_configurable), env, interface_op_impl->nested_configurable, 
@@ -228,7 +228,7 @@
 AXIS2_DECLARE(axis2_woden_interface_op_t *)
 axis2_woden_interface_op_to_configurable(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     void *configurable = NULL;
@@ -244,7 +244,7 @@
     axis2_woden_interface_op_free_ops(interface_op, env);
 
     interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     configurable = AXIS2_WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
             interface_op_impl->nested_configurable, env);
@@ -255,12 +255,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_interface_op_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    interface_op_impl = AXIS2_MALLOC((*env)->allocator, 
+    interface_op_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_interface_op_impl_t));
 
     interface_op_impl->obj_type= AXIS2_WODEN_INTERFACE_OP;
@@ -277,7 +277,7 @@
     interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops = 
             NULL;
     
-    interface_op_impl->interface_op.ops = AXIS2_MALLOC((*env)->allocator, 
+    interface_op_impl->interface_op.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_interface_op_ops_t));
 
     interface_op_impl->interface_op.ops->free = axis2_woden_interface_op_free;
@@ -301,7 +301,7 @@
     interface_op_impl->methods = axis2_hash_make(env);
     if(!interface_op_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_op_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -367,7 +367,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_interface_op_t *)
-axis2_woden_interface_op_create(axis2_env_t **env)
+axis2_woden_interface_op_create(const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     void *configurable = NULL;
@@ -380,7 +380,7 @@
     interface_op_impl->super = axis2_hash_make(env);
     if(!interface_op_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_op_impl->super, "AXIS2_WODEN_INTERFACE_OP", 
@@ -400,7 +400,7 @@
 static axis2_status_t
 axis2_woden_interface_op_free_ops(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
 
@@ -409,14 +409,14 @@
 
     if(interface_op_impl->interface_op.base.interface_op_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_op_impl->interface_op.base.
+        AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
                 interface_op_element.ops);
         interface_op_impl->interface_op.base.interface_op_element.ops = NULL;
     }
 
     if(interface_op_impl->interface_op.base.nested_configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_op_impl->interface_op.base.
+        AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
                 nested_configurable.ops);
         interface_op_impl->interface_op.base.nested_configurable.ops = 
             NULL;
@@ -424,7 +424,7 @@
     
     if(interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_op_impl->interface_op.base.
+        AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
                 nested_configurable.base.configurable.ops);
         interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops = 
             NULL;
@@ -437,7 +437,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_free(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
 
@@ -497,13 +497,13 @@
 
     if((&(interface_op_impl->interface_op))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(interface_op_impl->interface_op))->ops);
+        AXIS2_FREE(env->allocator, (&(interface_op_impl->interface_op))->ops);
         (&(interface_op_impl->interface_op))->ops = NULL;
     }
     
     if(interface_op_impl)
     {
-        AXIS2_FREE((*env)->allocator, interface_op_impl);
+        AXIS2_FREE(env->allocator, interface_op_impl);
         interface_op_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -512,7 +512,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_interface_op_super_objs(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
 
@@ -525,7 +525,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_interface_op_type(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
 
@@ -538,7 +538,7 @@
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_interface_op_get_base_impl(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
 
@@ -551,14 +551,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_resolve_methods(
         axis2_woden_interface_op_t *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_interface_op_t *interface_op_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     interface_op_impl_l = INTF_TO_IMPL(interface_op_impl);
     
     interface_op->ops->free = axis2_hash_get(methods, "free", 
@@ -614,7 +614,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_op_get_qname(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -630,7 +630,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_interface_op_get_msg_exchange_pattern(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -646,7 +646,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_msg_refs(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -662,7 +662,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_fault_refs(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -678,7 +678,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_style(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -694,7 +694,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_op_to_element(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -714,14 +714,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_set_qname(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -739,14 +739,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_set_pattern(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -764,7 +764,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_interface_op_get_pattern(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -780,14 +780,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_style_uri(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -797,7 +797,7 @@
         interface_op_impl->f_style = axis2_array_list_create(env, 0);
         if(!interface_op_impl->f_style)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -808,7 +808,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_style_uri(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
@@ -816,7 +816,7 @@
     int index = 0;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -829,14 +829,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_interface_msg_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_ref)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_ref, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_ref, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -846,7 +846,7 @@
         interface_op_impl->f_msg_refs = axis2_array_list_create(env, 0);
         if(!interface_op_impl->f_msg_refs)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -858,7 +858,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_interface_msg_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *msg_ref)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
@@ -866,7 +866,7 @@
     int index = 0;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_ref, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_ref, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -880,7 +880,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_msg_ref_elements(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -896,14 +896,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_add_interface_fault_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault_ref)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, fault_ref, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault_ref, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -913,7 +913,7 @@
         interface_op_impl->f_fault_refs = axis2_array_list_create(env, 0);
         if(!interface_op_impl->f_fault_refs)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -925,7 +925,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_remove_interface_fault_ref_element(
         void *interface_op,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault_ref)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
@@ -933,7 +933,7 @@
     int index = 0;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, fault_ref, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault_ref, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
     interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
@@ -947,7 +947,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_op_get_interface_fault_ref_elements(
         void *interface_op,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_op_impl_t *interface_op_impl = NULL;
     axis2_hash_t *super = NULL;



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


Mime
View raw message