[Spice-devel] [PATCH] channel-main: add missing annotation

Pavel Grunt pgrunt at redhat.com
Thu Jun 16 08:11:51 UTC 2016


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


More information about the Spice-devel mailing list