Example #1
0
File: dump.go Project: reusee/ggi
func DumpPropertyInfo(info *C.GIPropertyInfo) {
	_ = C.g_property_info_get_flags(info)
	transfer := C.g_property_info_get_ownership_transfer(info)
	p("transfer %v\n", transfer)
	t := C.g_property_info_get_type(info)
	p("type %v\n", t)
}
Example #2
0
// g_property_info_get_type
func (pi *PropertyInfo) Type() *TypeInfo {
	ptr := &BaseInfo{(*C.GIBaseInfo)(C.g_property_info_get_type((*C.GIPropertyInfo)(pi.c)))}
	return (*TypeInfo)(unsafe.Pointer(_SetBaseInfoFinalizer(ptr)))
}