Commit 09428a39 authored by William M. Brack's avatar William M. Brack
Browse files

undid last change (my bad). Put necessary fix in libxslt/libexslt instead.

* include/libxml/xpathInternals.h: undid last change (my
  bad).  Put necessary fix in libxslt/libexslt instead.
* include/libxml/DOCBparser.h: put test for __GCC__ on
  warning directive (Bug 129105)
parent 966668a7
Sat Dec 20 18:17:28 HKT 2003 William Brack <wbrack@mmm.com.hk>
* include/libxml/xpathInternals.h: undid last change (my
bad). Put necessary fix in libxslt/libexslt instead.
* include/libxml/DOCBparser.h: put test for __GCC__ on
warning directive (Bug 129105)
Sat Dec 20 10:48:37 HKT 2003 William Brack <wbrack@mmm.com.hk>
 
* include/libxml/xpathInternals.h: fixed xmlXPathReturnString
......
......@@ -15,8 +15,11 @@
#include <libxml/parserInternals.h>
#ifndef IN_LIBXML
#ifdef __GNUC__
#warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
......
......@@ -153,8 +153,7 @@ XMLPUBFUN void * XMLCALL
* Pushes the string @str on the context stack.
*/
#define xmlXPathReturnString(ctxt, str) \
(str) == NULL ? valuePush((ctxt), xmlXPathNewCString("")) : \
valuePush((ctxt), xmlXPathWrapString(str))
valuePush((ctxt), xmlXPathWrapString(str))
/**
* xmlXPathReturnEmptyString:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment