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 du...@apache.org on 2009/04/11 20:06:26 UTC

svn commit: r764227 - in /webservices/axis2/trunk/c/axiom: include/axiom_xpath.h src/xpath/xpath.c test/xpath/Makefile.am test/xpath/test_xpath_streaming.c

Author: dumindu
Date: Sat Apr 11 18:06:25 2009
New Revision: 764227

URL: http://svn.apache.org/viewvc?rev=764227&view=rev
Log:
changed axiom_xpath_context_create() function to accpet a (const axutil_env_t *)


Modified:
    webservices/axis2/trunk/c/axiom/include/axiom_xpath.h
    webservices/axis2/trunk/c/axiom/src/xpath/xpath.c
    webservices/axis2/trunk/c/axiom/test/xpath/Makefile.am
    webservices/axis2/trunk/c/axiom/test/xpath/test_xpath_streaming.c

Modified: webservices/axis2/trunk/c/axiom/include/axiom_xpath.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_xpath.h?rev=764227&r1=764226&r2=764227&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_xpath.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_xpath.h Sat Apr 11 18:06:25 2009
@@ -120,7 +120,7 @@
     struct axiom_xpath_context
     {
         /** Environment */
-        axutil_env_t *env;
+        const axutil_env_t *env;
 
         /** List of namespaces */
         axutil_hash_t *namespaces;
@@ -207,7 +207,7 @@
       * @return The initialized XPath context.
       */
     AXIS2_EXTERN axiom_xpath_context_t * AXIS2_CALL axiom_xpath_context_create(
-        axutil_env_t *env,
+        const axutil_env_t *env,
         axiom_node_t * root_node);
 
     /**

Modified: webservices/axis2/trunk/c/axiom/src/xpath/xpath.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/xpath/xpath.c?rev=764227&r1=764226&r2=764227&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/xpath/xpath.c (original)
+++ webservices/axis2/trunk/c/axiom/src/xpath/xpath.c Sat Apr 11 18:06:25 2009
@@ -25,7 +25,7 @@
 
 /* Create XPath context */
 AXIS2_EXTERN axiom_xpath_context_t * AXIS2_CALL axiom_xpath_context_create(
-    axutil_env_t *env,
+    const axutil_env_t *env,
     axiom_node_t * root_node)
 {
     axiom_xpath_context_t* context;

Modified: webservices/axis2/trunk/c/axiom/test/xpath/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/xpath/Makefile.am?rev=764227&r1=764226&r2=764227&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/test/xpath/Makefile.am (original)
+++ webservices/axis2/trunk/c/axiom/test/xpath/Makefile.am Sat Apr 11 18:06:25 2009
@@ -2,7 +2,6 @@
 noinst_PROGRAMS = test_xpath test_xpath_streaming
 check_PROGRAMS = test_xpath test_xpath_streaming
 SUBDIRS =
-AM_CFLAGS = -g -O2 -pthread
 test_xpath_SOURCES = test_xpath.c
 
 test_xpath_streaming_SOURCES = test_xpath_streaming.c

Modified: webservices/axis2/trunk/c/axiom/test/xpath/test_xpath_streaming.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/xpath/test_xpath_streaming.c?rev=764227&r1=764226&r2=764227&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/test/xpath/test_xpath_streaming.c (original)
+++ webservices/axis2/trunk/c/axiom/test/xpath/test_xpath_streaming.c Sat Apr 11 18:06:25 2009
@@ -229,7 +229,7 @@
     }
 
     /* Create XPath Context */
-    context = axiom_xpath_context_create((axutil_env_t *)env, test_tree);
+    context = axiom_xpath_context_create(env, test_tree);
 
     if(!context)
     {