From c41d927309c586ab215f8fa681243482ae9792e0 Mon Sep 17 00:00:00 2001 From: shankar Date: Mon, 24 May 2010 04:31:26 +0000 Subject: adding axiom_element_declare_namespace_assume_param_ownership method git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@947536 13f79535-47bb-0310-9956-ffa450edef68 --- axiom/include/axiom_element.h | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'axiom/include') diff --git a/axiom/include/axiom_element.h b/axiom/include/axiom_element.h index cd1de06..90e4881 100644 --- a/axiom/include/axiom_element.h +++ b/axiom/include/axiom_element.h @@ -432,6 +432,21 @@ extern "C" const axutil_env_t * env, axiom_node_t * element_node); + /** + * This method will declare the namespace without checking whether it is already declared. + * (This method is only used by codegen. We have to remove this method in future) + * @param om_element pointer to om_element + * @param env environment MUST not be NULL + * @param om_node pointer to this element node + * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE. + * + */ + AXIS2_EXTERN axis2_status_t AXIS2_CALL + axiom_element_declare_namespace_assume_param_ownership( + axiom_element_t * om_element, + const axutil_env_t * env, + axiom_namespace_t * ns); + #if 0 /** * builds this om_element_node completely, This is only possible @@ -508,18 +523,6 @@ extern "C" const axutil_env_t * env, axiom_namespace_t * om_ns); - /** - * @param om_element pointer to om_element - * @param env environment MUST not be NULL - * @param om_node pointer to this element node - * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE. - * - */ - AXIS2_EXTERN axis2_status_t AXIS2_CALL - axiom_element_declare_namespace_assume_param_ownership( - axiom_element_t * om_element, - const axutil_env_t * env, - axiom_namespace_t * ns); /** * unconditionally set the namespace of the element -- cgit v1.1-32-gdbae