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

Cole Robinson crobinso at redhat.com
Wed Sep 23 17:01:26 UTC 2009


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

Signed-off-by: Cole Robinson <crobinso at 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




More information about the libvir-list mailing list