diff options
author | William M. Brack <wbrack@src.gnome.org> | 2007-01-11 03:13:13 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2007-01-11 03:13:13 +0000 |
commit | 40e7c29b35c975e4b7ff6275a9f8aaca24a4a86c (patch) | |
tree | ce0476e8d46fa9bebf8b289617f3e9a521dae702 /python/libxslt.c | |
parent | 7581a7896fbf2d9216622b54265ed202692ea006 (diff) | |
download | libxslt-40e7c29b35c975e4b7ff6275a9f8aaca24a4a86c.tar.gz libxslt-40e7c29b35c975e4b7ff6275a9f8aaca24a4a86c.tar.bz2 libxslt-40e7c29b35c975e4b7ff6275a9f8aaca24a4a86c.zip |
added new function replace from Joel Reed. added new test case for above.
* libexslt/strings.c: added new function replace from Joel
Reed.
* tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl,
replace.1.out: added new test case for above.
* libxslt.spec.in: trivial change from Gnome to GNOME
* configure.in: trivial change for flags on my compilations
* libxslt/documents.c, libxslt/documents.h, libxslt/keys.c,
libxslt/keys.h, libxslt/variables.c, libxslt/templates.c,
libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c,
libxslt/xsltutils.c: fixed some documentation/comments and
compilation warnings - no change to logic.
* re-generated the documentation.
svn path=/trunk/; revision=1413
Diffstat (limited to 'python/libxslt.c')
-rw-r--r-- | python/libxslt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/libxslt.c b/python/libxslt.c index 182dbcb8..18193838 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -561,8 +561,8 @@ pythonDocLoaderFuncWrapper(const xmlChar * URI, xmlDictPtr dict, int options, * The return value should be the document * Should we test it somehow before getting the C object from it? */ - PyObject *py_doc = PyObject_GetAttrString(result, "_o"); - doc = PyxmlNode_Get(py_doc); + PyObject *py_doc = PyObject_GetAttrString(result, (char *) "_o"); + doc = (xmlDocPtr) PyxmlNode_Get(py_doc); /* do we have to DECCREF the result?? */ } } |