diff options
author | Cole Robinson <crobinso@redhat.com> | 2011-06-14 13:49:22 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2011-06-20 14:11:55 -0400 |
commit | 8f2990bffe64b6d9392abd60a2bdc6da3a9aeafd (patch) | |
tree | 9202a9a12730d7628da0f574ce3957d3808ab499 /generator.py | |
parent | 6d991ee5d29f4a9aa6636fa9ed8ffbbe21339b0a (diff) | |
download | libvirt-python-8f2990bffe64b6d9392abd60a2bdc6da3a9aeafd.tar.gz |
python: Implement bindings for virStreamEventAddCallback
v2:
Don't generate virStreamFree
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generator.py b/generator.py index 2c8fd69..cb4d8a4 100755 --- a/generator.py +++ b/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 |