コード例 #1
0
ファイル: glib.go プロジェクト: vvanpo/gotk3
// Depth is a wrapper around g_type_depth().
func (t Type) Depth() uint {
	return uint(C.g_type_depth(C.GType(t)))
}
コード例 #2
0
ファイル: type.go プロジェクト: seokheonbae/glib
func (t Type) Depth() uint {
	return uint(C.g_type_depth(t.g()))
}