コード例 #1
0
ファイル: h5t.go プロジェクト: pombredanne/go-hdf5
// 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
}
コード例 #2
0
ファイル: h5t.go プロジェクト: jonlawlor/go-hdf5
// Committed determines whether a datatype is a named type or a transient type.
func (t *Datatype) Committed() bool {
	return C.H5Tcommitted(t.id) > 0
}