summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-10-19 21:35:47 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-10-19 21:35:47 +0000
commiteb955f5fe189ef3dd831c69741bf52a22c547433 (patch)
tree61561c9b741fd75b11eb9f0b113535fc0148a287 /python
parente0bbbefe2ea847e0a9aff4f802db18ae8e8bfe7a (diff)
downloadlibxslt-eb955f5fe189ef3dd831c69741bf52a22c547433.tar.gz
libxslt-eb955f5fe189ef3dd831c69741bf52a22c547433.tar.bz2
libxslt-eb955f5fe189ef3dd831c69741bf52a22c547433.zip
bump the libxml2 require to 2.6.0 which should ship for good real soon...
* configure.in: bump the libxml2 require to 2.6.0 which should ship for good real soon... * doc/Makefile.am: fix installation of HTML pages * doc/libxslt-api.xml: rebuilt * libxslt/xsltexports.h: cleanup * python/generator.py: ATTRIBUTE_UNUSED is after the parameter * xsltproc/xsltproc.c: applied Crutcher Dunnavant --load-trace patch 2 Daniel
Diffstat (limited to 'python')
-rwxr-xr-xpython/generator.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/generator.py b/python/generator.py
index 87216016..454b3552 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -406,10 +406,11 @@ def print_function_wrapper(name, output, export, include):
return 1
output.write("PyObject *\n")
- output.write("libxslt_%s(ATTRIBUTE_UNUSED PyObject *self," % (name))
+ output.write("libxslt_%s(PyObject *self ATTRIBUTE_UNUSED," % (name))
+ output.write(" PyObject *args")
if format == "":
- output.write("ATTRIBUTE_UNUSED ")
- output.write(" PyObject *args) {\n")
+ output.write(" ATTRIBUTE_UNUSED")
+ output.write(") {\n")
if ret[0] != 'void':
output.write(" PyObject *py_retval;\n")
if c_return != "":