Declaration [src]

g_flags_complete_type_info (
  GType g_flags_type,
  GTypeInfo* info,
  const GFlagsValue* const_values

Description [src]

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.


g_flags_type GType

The type identifier of the type being completed.

info GTypeInfo

The GTypeInfo struct to be filled in.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
const_values GFlagsValue

An array of GFlagsValue structs 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.