diff options
author | Peter Krempa <pkrempa@redhat.com> | 2014-08-28 18:32:00 +0200 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2014-09-01 22:11:56 +0200 |
commit | 7edf050a26803ccee2dea85dafc2a2a90b7e2e5d (patch) | |
tree | 27ae23bbbb1bc7fb95590b8e10537e40e4a34f2a | |
parent | 62cfebc2e1ce8a5eb90371546863dc7c45500cf1 (diff) | |
download | libvirt-python-7edf050a26803ccee2dea85dafc2a2a90b7e2e5d.tar.gz |
API: Skip 'virDomainStatsRecordListFree'
The new API function doesn't make sense to be exported in python. The
bindings will return native types instead of the struct array.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
-rwxr-xr-x | generator.py | 1 | ||||
-rw-r--r-- | sanitytest.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/generator.py b/generator.py index 0d41e20..c4c12df 100755 --- a/generator.py +++ b/generator.py @@ -571,6 +571,7 @@ skip_function = ( "virTypedParamsGetULLong", 'virNetworkDHCPLeaseFree', # only useful in C, python code uses list + 'virDomainStatsRecordListFree', # only useful in C, python uses dict ) lxc_skip_function = ( diff --git a/sanitytest.py b/sanitytest.py index 4f4a648..10cf9f0 100644 --- a/sanitytest.py +++ b/sanitytest.py @@ -81,6 +81,9 @@ for cname in wantfunctions: if name[0:23] == "virNetworkDHCPLeaseFree": continue + if name[0:28] == "virDomainStatsRecordListFree": + continue + # These aren't functions, they're callback signatures if name in ["virConnectAuthCallbackPtr", "virConnectCloseFunc", "virStreamSinkFunc", "virStreamSourceFunc", "virStreamEventCallback", |