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

Cole Robinson crobinso at redhat.com
Fri Oct 2 17:46:50 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 758914e..437de0c 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -333,6 +333,16 @@ skip_function = (
     'virStreamSendAll',
     'virStreamRef',
     'virStreamFree',
+
+    # These have no use for bindings users.
+    "virConnectRef",
+    "virDomainRef",
+    "virInterfaceRef",
+    "virNetworkRef",
+    "virNodeDeviceRef",
+    "virSecretRef",
+    "virStoragePoolRef",
+    "virStorageVolRef",
 )
 
 
-- 
1.6.5.rc2




More information about the libvir-list mailing list