(g-type-depth type) => depth
Returns the depth of the type
. Depth is the number of types between the type
and its fundamental types (including both type
and its fundamental type). Depth of a fundamental type equals to 1.
Example:
(g-type-depth "GObject") => 1 (g-type-depth "GInitiallyUnowned") => 2