From 5dea3ff0a5f9eb6fda3956192120bdb930307daf Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Wed, 4 Nov 2015 11:39:29 -0500 Subject: [PATCH] Annotate the plugins_names out parameters as zero-terminated array Otherwise GI gets confused about its type. Signed-off-by: Vratislav Podzimek --- src/lib/blockdev.c.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/blockdev.c.in b/src/lib/blockdev.c.in index 01cea9b..eb6cf6c 100644 --- a/src/lib/blockdev.c.in +++ b/src/lib/blockdev.c.in @@ -481,8 +481,8 @@ gboolean bd_ensure_init (BDPluginSpec **require_plugins, BDUtilsLogFunc log_func * for the plugin, the default is used) or %NULL to load all * plugins * @log_func: (allow-none) (scope notified): logging function to use - * @loaded_plugin_names: (allow-none) (out) (transfer container): names of the successfully - * loaded plugins + * @loaded_plugin_names: (allow-none) (out) (transfer container) (array zero-terminated=1): names + * of the successfully loaded plugins * @error: (out): place to store error (if any) * * Returns: whether the library was successfully initialized with all the -- 2.4.3