1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

the uri arg to xmlNodeSetBase is really a const xmlChar* addin the

* tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is
  really a const xmlChar*
* xmlreader.c include/libxml/xmlreader.h: addin the
  xmlTextReaderConstString() to get an interned string from
  the reader
Daniel
This commit is contained in:
Daniel Veillard
2003-09-22 10:24:45 +00:00
parent 6984830a01
commit f85ce8e334
5 changed files with 32 additions and 2 deletions

2
tree.c
View File

@ -4550,7 +4550,7 @@ xmlNodeSetName(xmlNodePtr cur, const xmlChar *name) {
* xml:base attribute.
*/
void
xmlNodeSetBase(xmlNodePtr cur, xmlChar* uri) {
xmlNodeSetBase(xmlNodePtr cur, const xmlChar* uri) {
xmlNsPtr ns;
if (cur == NULL) return;