Function

GObjecttype_depth

Declaration [src]

guint
g_type_depth (
  GType type
)

Description [src]

Returns the length of the ancestry of the passed in type. This includes the type itself, so that e.g. a fundamental type has depth 1.

Parameters

type GType
 

A GType.

Return value

Returns: guint
 

The depth of type.