summaryrefslogtreecommitdiff
path: root/python/libxml.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-07-01 12:56:30 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-07-01 12:56:30 +0000
commitf93a866079364a006189683eaa07f94c867389d1 (patch)
treec46e5c002b267343fd81452bf56f3ff7cba2f613 /python/libxml.py
parent8165a6b130f109920b37a806040e988e63923b54 (diff)
downloadlibxml2-f93a866079364a006189683eaa07f94c867389d1.tar.gz
applied patch from Stéphane Bidoul to fix some Python bindings
* python/libxml.c python/generator.py python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt: applied patch from Stéphane Bidoul to fix some Python bindings initialization, then had to change the parserCleanup() to handle memory released there. * xmlmemory.c: added more debugging comments. Daniel
Diffstat (limited to 'python/libxml.py')
-rw-r--r--python/libxml.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/libxml.py b/python/libxml.py
index 0c3ba6cd..59809747 100644
--- a/python/libxml.py
+++ b/python/libxml.py
@@ -618,6 +618,11 @@ class xmlTextReaderCore:
# assert f is _xmlTextReaderErrorFunc
return arg
+#
+# The cleanup now goes though a wrappe in libxml.c
+#
+def cleanupParser():
+ libxml2mod.xmlPythonCleanupParser()
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
#