From 9ebcfb5221558579bb24fe3dd8cfc9dab9cb869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Wed, 8 Dec 2021 12:27:04 +0100 Subject: [PATCH] elementfactory: Annotate create_full and make_full to take arrays We need the array annotation for it to be usable from the introspection side. Part-of: --- subprojects/gstreamer/gst/gstelementfactory.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subprojects/gstreamer/gst/gstelementfactory.c b/subprojects/gstreamer/gst/gstelementfactory.c index 7ce1fca8e7..29d09e8eb6 100644 --- a/subprojects/gstreamer/gst/gstelementfactory.c +++ b/subprojects/gstreamer/gst/gstelementfactory.c @@ -456,8 +456,8 @@ cleanup: * gst_element_factory_create_with_properties: * @factory: factory to instantiate * @n: count of properties - * @names: (nullable): array of properties names - * @values: (nullable): array of associated properties values + * @names: (nullable) (array length=n): array of properties names + * @values: (nullable) (array length=n): array of associated properties values * * Create a new element of the type defined by the given elementfactory. * The supplied list of properties, will be passed at object construction. @@ -658,8 +658,8 @@ gst_element_factory_create (GstElementFactory * factory, const gchar * name) * gst_element_factory_make_with_properties: * @factoryname: a named factory to instantiate * @n: count of properties - * @names: (nullable): array of properties names - * @values: (nullable): array of associated properties values + * @names: (nullable) (array length=n): array of properties names + * @values: (nullable) (array length=n): array of associated properties values * * Create a new element of the type defined by the given elementfactory. * The supplied list of properties, will be passed at object construction.