函数

GObjecttype_depth

声明 [源代码]

guint
g_type_depth (
  GType type
)

说明 [源代码]

返回传入类型的祖先深度。其中包括类型本身,这样例如基本类型有深度 1。

参数

type

类型: GType

一个 GType

返回值

类型: guint

type 的深度。