mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-28 04:41:59 +03:00
fixed the parameter order when calling Python based extensions. Daniel
* python/libxslt.c: fixed the parameter order when calling Python based extensions. Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 21 18:59:28 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* python/libxslt.c: fixed the parameter order when calling
|
||||||
|
Python based extensions.
|
||||||
|
|
||||||
Wed Aug 21 13:48:07 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
Wed Aug 21 13:48:07 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* libxslt/transform.c libxslt/xslt.c: fixed bug #89258 and a bit of
|
* libxslt/transform.c libxslt/xslt.c: fixed bug #89258 and a bit of
|
||||||
|
@ -107,7 +107,7 @@ libxslt_xmlXPathFuncCallback(xmlXPathParserContextPtr ctxt, int nargs) {
|
|||||||
|
|
||||||
list = PyTuple_New(nargs + 1);
|
list = PyTuple_New(nargs + 1);
|
||||||
PyTuple_SetItem(list, 0, libxml_xmlXPathParserContextPtrWrap(ctxt));
|
PyTuple_SetItem(list, 0, libxml_xmlXPathParserContextPtrWrap(ctxt));
|
||||||
for (i = 0;i < nargs;i++) {
|
for (i = nargs - 1;i >= 0;i--) {
|
||||||
obj = valuePop(ctxt);
|
obj = valuePop(ctxt);
|
||||||
cur = libxml_xmlXPathObjectPtrWrap(obj);
|
cur = libxml_xmlXPathObjectPtrWrap(obj);
|
||||||
PyTuple_SetItem(list, i + 1, cur);
|
PyTuple_SetItem(list, i + 1, cur);
|
||||||
|
Reference in New Issue
Block a user