Example #1
0
File: dump.go Project: reusee/ggi
func DumpValueInfo(valueInfo *C.GIValueInfo) {
	name := fromGStr(C.g_base_info_get_name(asBaseInfo(valueInfo)))
	value := C.g_value_info_get_value(valueInfo)
	p("%s = %v\n", name, value)
}
Example #2
0
// g_value_info_get_value
func (vi *ValueInfo) Value() int64 {
	return int64(C.g_value_info_get_value((*C.GIValueInfo)(vi.c)))
}
Example #3
0
File: info.go Project: dradtke/gogi
// this acts on GIValueInfo
func (info *GiInfo) GetValue() int64 {
	return (int64)(C.g_value_info_get_value((*C.GIValueInfo)(info.ptr)))
}