diff options
author | Mike Hommey <mh@glandium.org> | 2004-10-28 09:07:41 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-10-28 09:07:41 +0000 |
commit | 9705f1a5e858108d21a0128556f42b25d16833cd (patch) | |
tree | f819e7482d433f8bf5da005695c79189dd5ce527 /python/generator.py | |
parent | 0732be88d054db33fa0ca479eab9988c8e6be42e (diff) | |
download | libxml2-9705f1a5e858108d21a0128556f42b25d16833cd.tar.gz |
Load /tmp/tmp.SgII7T/libxml2-2.6.15 intoupstream/2.6.15
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'python/generator.py')
-rwxr-xr-x | python/generator.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/generator.py b/python/generator.py index df89c4e..04b3832 100755 --- a/python/generator.py +++ b/python/generator.py @@ -300,6 +300,13 @@ unknown_types = {} # ####################################################################### +# Class methods which are written by hand in libxml.c but the Python-level +# code is still automatically generated (so they are not in skip_function()). +skip_impl = ( + 'xmlSaveFileTo', + 'xmlSaveFormatFileTo', +) + def skip_function(name): if name[0:12] == "xmlXPathWrap": return 1 @@ -356,6 +363,9 @@ def print_function_wrapper(name, output, export, include): return 0 if skip_function(name) == 1: return 0 + if name in skip_impl: + # Don't delete the function entry in the caller. + return 1 c_call = ""; format="" |