[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 03/10] python: Implement bindings for virStreamEventAddCallback



On 06/15/2011 09:23 PM, Cole Robinson wrote:
> Signed-off-by: Cole Robinson <crobinso redhat com>
> ---
>  python/generator.py                  |    7 +--
>  python/libvirt-override-virStream.py |   24 ++++++----
>  python/libvirt-override.c            |   81 ++++++++++++++++++++++++++++++++++
>  python/typewrappers.h                |    1 -
>  4 files changed, 99 insertions(+), 14 deletions(-)
> 
> diff --git a/python/generator.py b/python/generator.py
> index 6ee0ada..6dcd203 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",
>  }
>  
> @@ -391,13 +392,10 @@ skip_function = (
>      'virConnectDomainEventDeregisterAny', # overridden in virConnect.py
>      'virSaveLastError', # We have our own python error wrapper
>      'virFreeError', # Only needed if we use virSaveLastError
> -    'virStreamEventAddCallback',
>      'virStreamRecvAll',
>      'virStreamSendAll',
> -    'virStreamRef',
> -    'virStreamFree',

Just noticed this 'virStreamFree' shouldn't have been removed. I'll squash in
that change.

- Cole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]