peek


Description:

[ CCode ( cname = "g_type_interface_peek" ) ]
public unowned TypeInterface? peek (Type iface_type)

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

Parameters:

iface_type

an interface ID which this class conforms to

instance_class

a TypeClass structure

Returns:

the TypeInterface structure of iface_type if implemented by instance_class, null otherwise