Method

GIRepositoryInterfaceInfoget_prerequisite

since: 2.80

Declaration [src]

GIBaseInfo*
gi_interface_info_get_prerequisite (
  GIInterfaceInfo* info,
  unsigned int n
)

Description [src]

Obtain an interface type’s prerequisite at index n.

Available since: 2.80

Parameters

n

Type: unsigned int

Index of prerequisite to get.

Return value

Type: GIBaseInfo

The prerequisite as a GIBaseInfo. Free the struct by calling gi_base_info_unref() when done.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.