mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-06-30 02:21:44 +03:00
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
This commit is contained in:
@ -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?? */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user