ImplementsInterface.implementsInterfaceCast

cast a given object to an interface type, and check whether this interface is supported for this specific instance.

class ImplementsInterface
static
void*
implementsInterfaceCast
(
void* from
,)

Parameters

from void*

the object (any sort) from which to cast to the interface

type GType

the interface type to cast to

Return Value

Type: void*

a gpointer to the interface type

Meta