From f85e93d0040955166bcf51ece0dfcdd57035d1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 17 Dec 2017 14:18:38 +0200 Subject: [PATCH] plugin: Annotate add_dependency() arguments as NULL-terminated arrays --- gst/gstplugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 8e63930164..e89f33ca30 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -1812,15 +1812,15 @@ gst_plugin_ext_dep_equals (GstPluginDep * dep, const gchar ** env_vars, /** * gst_plugin_add_dependency: * @plugin: a #GstPlugin - * @env_vars: (allow-none): %NULL-terminated array of environment variables affecting the + * @env_vars: (allow-none) (array zero-terminated=1): %NULL-terminated array of environment variables affecting the * feature set of the plugin (e.g. an environment variable containing * paths where to look for additional modules/plugins of a library), * or %NULL. Environment variable names may be followed by a path component * which will be added to the content of the environment variable, e.g. * "HOME/.mystuff/plugins". - * @paths: (allow-none): %NULL-terminated array of directories/paths where dependent files + * @paths: (allow-none) (array zero-terminated=1): %NULL-terminated array of directories/paths where dependent files * may be, or %NULL. - * @names: (allow-none): %NULL-terminated array of file names (or file name suffixes, + * @names: (allow-none) (array zero-terminated=1): %NULL-terminated array of file names (or file name suffixes, * depending on @flags) to be used in combination with the paths from * @paths and/or the paths extracted from the environment variables in * @env_vars, or %NULL.