Function Macro

GObjectTYPE_CHECK_INSTANCE_TYPE

Declaration

#define G_TYPE_CHECK_INSTANCE_TYPE (
  instance,
  g_type
)

Description

Checks if instance is an instance of the type identified by g_type. If instance is NULL, FALSE will be returned.

This macro should only be used in type implementations.

This function is not directly available to language bindings

Parameters

instance -
 

Location of a GTypeInstance structure.

g_type -
 

The type to be checked.