Function Macro

GObjectTYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE

Declaration

#define G_TYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE (
  instance,
  g_type
)

Description

Checks if instance is an instance of the fundamental 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

Type: -

Location of a GTypeInstance structure.

g_type

Type: -

The fundamental type to be checked.