From bfce3775798e346802e9affd7d96204c2640a58a Mon Sep 17 00:00:00 2001 From: Ramiro Estrugo Date: Wed, 15 Dec 1999 04:32:07 +0000 Subject: [PATCH] Changed 'namespace' to 'nameSpace' to workaround c++ losage where 'namespace' is a reserved keyword of the compiler. --- ChangeLog | 5 +++++ SAX.h | 2 +- include/libxml/SAX.h | 2 +- include/libxml/tree.h | 2 +- tree.h | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76a5dd71..f27c8d1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 14 20:30:34 PST 1999 Ramiro Estrugo + + * SAX.h, tree.h : changed 'namespace' to 'nameSpace' to workaround + c++ losage. + Sun Dec 12 13:08:15 CET 1999 Daniel Veillard * configure.in, doc/xml.html : bumped to 1.8.0 diff --git a/SAX.h b/SAX.h index 0424fa78..2912f36f 100644 --- a/SAX.h +++ b/SAX.h @@ -93,7 +93,7 @@ void setNamespace (void *ctx, const xmlChar *name); xmlNsPtr getNamespace (void *ctx); int checkNamespace (void *ctx, - xmlChar *namespace); + xmlChar *nameSpace); void namespaceDecl (void *ctx, const xmlChar *href, const xmlChar *prefix); diff --git a/include/libxml/SAX.h b/include/libxml/SAX.h index 0424fa78..2912f36f 100644 --- a/include/libxml/SAX.h +++ b/include/libxml/SAX.h @@ -93,7 +93,7 @@ void setNamespace (void *ctx, const xmlChar *name); xmlNsPtr getNamespace (void *ctx); int checkNamespace (void *ctx, - xmlChar *namespace); + xmlChar *nameSpace); void namespaceDecl (void *ctx, const xmlChar *href, const xmlChar *prefix); diff --git a/include/libxml/tree.h b/include/libxml/tree.h index e046073a..d7c804d7 100644 --- a/include/libxml/tree.h +++ b/include/libxml/tree.h @@ -465,7 +465,7 @@ xmlChar * xmlGetProp (xmlNodePtr node, const xmlChar *name); xmlChar * xmlGetNsProp (xmlNodePtr node, const xmlChar *name, - const xmlChar *namespace); + const xmlChar *nameSpace); xmlNodePtr xmlStringGetNodeList (xmlDocPtr doc, const xmlChar *value); xmlNodePtr xmlStringLenGetNodeList (xmlDocPtr doc, diff --git a/tree.h b/tree.h index e046073a..d7c804d7 100644 --- a/tree.h +++ b/tree.h @@ -465,7 +465,7 @@ xmlChar * xmlGetProp (xmlNodePtr node, const xmlChar *name); xmlChar * xmlGetNsProp (xmlNodePtr node, const xmlChar *name, - const xmlChar *namespace); + const xmlChar *nameSpace); xmlNodePtr xmlStringGetNodeList (xmlDocPtr doc, const xmlChar *value); xmlNodePtr xmlStringLenGetNodeList (xmlDocPtr doc,