Exemplo n.º 1
0
// Determines whether a datatype is a named type or a transient type.
// htri_tH5Tcommitted( hid_t dtype_id )
func (t *DataType) Committed() bool {
	o := int(C.H5Tcommitted(t.id))
	if o > 0 {
		return true
	}
	return false
}
Exemplo n.º 2
0
// Committed determines whether a datatype is a named type or a transient type.
func (t *Datatype) Committed() bool {
	return C.H5Tcommitted(t.id) > 0
}