Function

GObjectTypeInterfacepeek

Declaration

GObjectTypeInterface*
g_type_interface_peek (
  GObjectTypeClass* instance_class,
  GType iface_type
)

Description

Returns the GTypeInterface structure of an interface to which the passed in class conforms.

Parameters

instance_class GTypeClass
 

A GTypeClass structure.

 The data is owned by the caller of the function.
iface_type GType
 

An interface ID which this class conforms to.

Return value

Returns: GTypeInterface
 

The GTypeInterface structure of iface_type if implemented by instance_class, NULL otherwise.

 The data is owned by the called function.