From 2e3e3c802503ecd40ed73abeed5725c273231006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 Sep 2025 13:41:02 +0300 Subject: [PATCH] Add missing `(array length=n_values)` annotation to `GEnumClass` / `GFlagsClass` --- gobject/genums.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobject/genums.h b/gobject/genums.h index 0ee8a610d..c5154a6e7 100644 --- a/gobject/genums.h +++ b/gobject/genums.h @@ -148,7 +148,7 @@ typedef struct _GFlagsValue GFlagsValue; * @minimum: the smallest possible value. * @maximum: the largest possible value. * @n_values: the number of possible values. - * @values: an array of #GEnumValue structs describing the + * @values: (array length=n_values): an array of #GEnumValue structs describing the * individual values. * * The class of an enumeration type holds information about its @@ -169,7 +169,7 @@ struct _GEnumClass * @g_type_class: the parent class * @mask: a mask covering all possible values. * @n_values: the number of possible values. - * @values: an array of #GFlagsValue structs describing the + * @values: (array length=n_values): an array of #GFlagsValue structs describing the * individual values. * * The class of a flags type holds information about its