[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [python PATCH 2/5] 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.
---
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]