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:
committed by
Pavel Hrdina
parent
62cfebc2e1
commit
7edf050a26
@ -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 = (
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user