Re: [PATCH] channel-main: add missing annotation

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

 



Hi Visarion,

I would change it to "channel-main: Fix spice_main_file_copy_async annotation"

The patch looks good,
Pavel

On Thu, 2016-06-16 at 10:59 +0300, Visarion-Mingopol Alexandru wrote:
> Without (array zero-terminated=1), one null terminated array
> parameter is translated into a single element, so its binding
> isn't usable.
> ---
>  src/channel-main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/channel-main.c b/src/channel-main.c
> index efe7f4e..6a6ed40 100644
> --- a/src/channel-main.c
> +++ b/src/channel-main.c
> @@ -3132,7 +3132,7 @@ static void
> file_xfer_send_start_msg_async(SpiceMainChannel *channel,
>  /**
>   * spice_main_file_copy_async:
>   * @channel: a #SpiceMainChannel
> - * @sources: a %NULL-terminated array of #GFile objects to be transferred
> + * @sources: (array zero-terminated=1): a %NULL-terminated array of #GFile
> objects to be transferred
>   * @flags: set of #GFileCopyFlags
>   * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore
>   * @progress_callback: (allow-none) (scope call): function to callback with
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]