From 8f2990bffe64b6d9392abd60a2bdc6da3a9aeafd Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 14 Jun 2011 13:49:22 -0400 Subject: python: Implement bindings for virStreamEventAddCallback v2: Don't generate virStreamFree --- generator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'generator.py') 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 -- cgit