Add missing annotation

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

 





--
Visarion-Mingopol Alexandru-Viorel
Telefon : 0729614060
Best Bucuresti
From 8471cc9d028e00900935a5357e5591f87c4a4ec7 Mon Sep 17 00:00:00 2001
From: Visarion-Mingopol Alexandru <viorel.visarion@xxxxxxxxx>
Date: Wed, 15 Jun 2016 22:17:30 +0300
Subject: [PATCH] channel-main: add missing annotation

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
-- 
2.5.5

_______________________________________________
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]