예제 #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()))
}