API Version: 2.0
Library Version: 2.72
guint g_type_depth ( GType type )
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.
type
GType
A GType.
guint
The depth of type.