mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add missing (array zero-terminated=1)
annotations
Array annotations were missing on: - g_enum_complete_type_info - g_flags_complete_type_info - g_type_module_register_enum - g_type_module_register_flags
This commit is contained in:
@@ -232,9 +232,9 @@ g_flags_register_static (const gchar *name,
|
||||
* g_enum_complete_type_info:
|
||||
* @g_enum_type: the type identifier of the type being completed
|
||||
* @info: (out callee-allocates): the #GTypeInfo struct to be filled in
|
||||
* @const_values: An array of #GEnumValue structs for the possible
|
||||
* enumeration values. The array is terminated by a struct with all
|
||||
* members being 0.
|
||||
* @const_values: (array zero-terminated=1): An array of #GEnumValue
|
||||
* structs for the possible enumeration values. The array is terminated
|
||||
* by a struct with all members being 0.
|
||||
*
|
||||
* This function is meant to be called from the `complete_type_info`
|
||||
* function of a #GTypePlugin implementation, as in the following
|
||||
@@ -278,9 +278,9 @@ g_enum_complete_type_info (GType g_enum_type,
|
||||
* g_flags_complete_type_info:
|
||||
* @g_flags_type: the type identifier of the type being completed
|
||||
* @info: (out callee-allocates): the #GTypeInfo struct to be filled in
|
||||
* @const_values: An array of #GFlagsValue structs for the possible
|
||||
* enumeration values. The array is terminated by a struct with all
|
||||
* members being 0.
|
||||
* @const_values: (array zero-terminated=1): An array of #GFlagsValue
|
||||
* structs for the possible enumeration values. The array is terminated
|
||||
* by a struct with all members being 0.
|
||||
*
|
||||
* This function is meant to be called from the complete_type_info()
|
||||
* function of a #GTypePlugin implementation, see the example for
|
||||
|
@@ -525,10 +525,9 @@ g_type_module_add_interface (GTypeModule *module,
|
||||
* g_type_module_register_enum:
|
||||
* @module: (nullable): a #GTypeModule
|
||||
* @name: name for the type
|
||||
* @const_static_values: an array of #GEnumValue structs for the
|
||||
* possible enumeration values. The array is
|
||||
* terminated by a struct with all members being
|
||||
* 0.
|
||||
* @const_static_values: (array zero-terminated=1): an array of #GEnumValue
|
||||
* structs for the possible enumeration values. The array is terminated by a
|
||||
* struct with all members being 0.
|
||||
*
|
||||
* Looks up or registers an enumeration that is implemented with a particular
|
||||
* type plugin. If a type with name @type_name was previously registered,
|
||||
@@ -567,10 +566,9 @@ g_type_module_register_enum (GTypeModule *module,
|
||||
* g_type_module_register_flags:
|
||||
* @module: (nullable): a #GTypeModule
|
||||
* @name: name for the type
|
||||
* @const_static_values: an array of #GFlagsValue structs for the
|
||||
* possible flags values. The array is
|
||||
* terminated by a struct with all members being
|
||||
* 0.
|
||||
* @const_static_values: (array zero-terminated=1): an array of #GFlagsValue
|
||||
* structs for the possible flags values. The array is terminated by a struct
|
||||
* with all members being 0.
|
||||
*
|
||||
* Looks up or registers a flags type that is implemented with a particular
|
||||
* type plugin. If a type with name @type_name was previously registered,
|
||||
|
Reference in New Issue
Block a user