[libvirt] [python PATCH 2/5] API: Skip 'virDomainStatsRecordListFree'

Peter Krempa pkrempa at redhat.com
Thu Aug 28 16:32:15 UTC 2014


The new API function doesn't make sense to be exported in python. The
bindings will return native types instead of the struct array.
---
 generator.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generator.py b/generator.py
index 9c497be..cfc016e 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 = (
-- 
2.0.2




More information about the libvir-list mailing list