Function Macro
GObjectTYPE_CHECK_INSTANCE_CAST
Declaration [src]
#define G_TYPE_CHECK_INSTANCE_CAST (
instance,
g_type,
c_type
)
Description [src]
Checks that instance is an instance of the type identified by g_type
and issues a warning if this is not the case. Returns instance casted
to a pointer to c_type.
No warning will be issued if instance is NULL, and NULL will be returned.
This macro should only be used in type implementations.
This function is not directly available to language bindings.