Function
GObjectflags_complete_type_info
since: 2.0
Declaration
void
g_flags_complete_type_info (
GType g_flags_type,
GTypeInfo* info,
const GFlagsValue* const_values
)
Description
This function is meant to be called from the complete_type_info()
function of a GTypePlugin implementation, see the example for
g_enum_complete_type_info() above.
Available since: 2.0
Parameters
g_flags_type-
Type:
GTypeThe type identifier of the type being completed.
info-
Type:
GTypeInfoThe
GTypeInfostruct to be filled in.The argument will be set by the function. The caller of the function takes ownership of the data, and is responsible for freeing it. const_values-
Type:
GFlagsValueAn array of
GFlagsValuestructs for the possible enumeration values. The array is terminated by a struct with all members being 0.The data is owned by the caller of the function.