Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-12-17 15:18:38 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-01-17 17:03:00 +0300
commit5a01b35e80b6c528fad2070303f37ee90131cf6c (patch)
treed49a74971ed4fc08fe2a147d0c4176f1d8b52813
parentf0d901b72dde8072e337fa26a8dd7b12b1dba910 (diff)
plugin: Annotate add_dependency() arguments as NULL-terminated arrays
-rw-r--r--gst/gstplugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstplugin.c b/gst/gstplugin.c
index c42da9652d..8b1a5cfac4 100644
--- a/gst/gstplugin.c
+++ b/gst/gstplugin.c
@@ -1733,15 +1733,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.