1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-30 23:41:52 +03:00

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>
This commit is contained in:
Peter Krempa
2014-08-28 18:32:00 +02:00
committed by Pavel Hrdina
parent 62cfebc2e1
commit 7edf050a26
2 changed files with 4 additions and 0 deletions

View File

@ -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 = (

View File

@ -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",