Exemplo n.º 1
0
Arquivo: glib.go Projeto: vvanpo/gotk3
// Depth is a wrapper around g_type_depth().
func (t Type) Depth() uint {
	return uint(C.g_type_depth(C.GType(t)))
}
Exemplo n.º 2
0
func (t Type) Depth() uint {
	return uint(C.g_type_depth(t.g()))
}