Function

GObjectTypeInterfaceprerequisites

Declaration

GType*
g_type_interface_prerequisites (
  GType interface_type,
  guint* n_prerequisites
)

Description

Returns the prerequisites of an interfaces type.

Available since:2.2

Parameters

interface_type GType
 

An interface type.

n_prerequisites guint*
 

Location to return the number of prerequisites, or NULL.

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

Return value

Returns: An array of GType
 

A newly-allocated zero-terminated array of GType containing the prerequisites of interface_type.

 The length of the array is in the n_prerequisites argument.
 The caller of the function takes ownership of the data, and is responsible for freeing it.