summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2009-09-23 12:17:03 -0400
committerCole Robinson <crobinso@redhat.com>2009-10-05 13:31:37 -0400
commit62a5096001b788532434a2b6b770c75af174a5d6 (patch)
treeba6a34bc7f43caa6481bdf6be49c9647995051c8
parent0af5492fcbc6a87d85ab646ece043929db90a0d1 (diff)
downloadlibvirt-python-62a5096001b788532434a2b6b770c75af174a5d6.tar.gz
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>
-rwxr-xr-xgenerator.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 758914e..437de0c 100755
--- a/generator.py
+++ b/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",
)