summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2011-06-14 13:49:22 -0400
committerCole Robinson <crobinso@redhat.com>2011-06-20 14:11:55 -0400
commitb1ede4cf9cb89f7d43a9723660983f619fd02e48 (patch)
tree8571134132e95072dacedccd5ecb36416ccda3b8 /python/generator.py
parentpython: generator: Don't print warning if nothing to warn about (diff)
downloadlibvirt-b1ede4cf9cb89f7d43a9723660983f619fd02e48.tar.gz
libvirt-b1ede4cf9cb89f7d43a9723660983f619fd02e48.tar.bz2
libvirt-b1ede4cf9cb89f7d43a9723660983f619fd02e48.zip
python: Implement bindings for virStreamEventAddCallback
v2: Don't generate virStreamFree
Diffstat (limited to 'python/generator.py')
-rwxr-xr-xpython/generator.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/generator.py b/python/generator.py
index 2c8fd69d4..cb4d8a4bc 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -197,6 +197,7 @@ skipped_types = {
'virConnectDomainEventWatchdogCallback': "No function types in python",
'virConnectDomainEventIOErrorCallback': "No function types in python",
'virConnectDomainEventGraphicsCallback': "No function types in python",
+ 'virStreamEventCallback': "No function types in python",
'virEventAddHandleFunc': "No function types in python",
}
@@ -392,13 +393,11 @@ skip_function = (
'virConnectDomainEventDeregisterAny', # overridden in virConnect.py
'virSaveLastError', # We have our own python error wrapper
'virFreeError', # Only needed if we use virSaveLastError
- 'virStreamEventAddCallback',
+ 'virStreamFree', # Overridden in libvirt-override-virStream.py
'virStreamRecvAll',
'virStreamSendAll',
- 'virStreamRef',
- 'virStreamFree',
- # These have no use for bindings users.
+ # 'Ref' functions have no use for bindings users.
"virConnectRef",
"virDomainRef",
"virInterfaceRef",
@@ -408,6 +407,7 @@ skip_function = (
"virNWFilterRef",
"virStoragePoolRef",
"virStorageVolRef",
+ 'virStreamRef',
# This functions shouldn't be called via the bindings (and even the docs
# contain an explicit warning to that effect). The equivalent should be