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

[libvirt] [PATCH 3/5] python: Don't generate bindings for vir*Ref



They are only for use in implementing the bindings, so shouldn't be
exposed to regular API users.

Signed-off-by: Cole Robinson <crobinso redhat com>
---
 python/generator.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/python/generator.py b/python/generator.py
index 2754be0..aea2120 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -366,6 +366,16 @@ skip_function = (
     'virConnectDomainEventDeregister', # overridden in virConnect.py
     'virSaveLastError', # We have our own python error wrapper
     'virFreeError', # Only needed if we use virSaveLastError
+
+    # These have no use for bindings users.
+    "virConnectRef",
+    "virDomainRef",
+    "virInterfaceRef",
+    "virNetworkRef",
+    "virNodeDeviceRef",
+    "virSecretRef",
+    "virStoragePoolRef",
+    "virStorageVolRef",
 )
 
 
-- 
1.6.4.4


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