Example #1
0
// Close terminates access to a PropList.
func (p *PropList) Close() error {
	if p.id == 0 {
		return nil
	}
	err := h5err(C.H5Pclose(p.id))
	p.id = 0
	return err
}
Example #2
0
File: h5p.go Project: pauh/go-hdf5
// Terminates access to a property list.
// herr_t H5Pclose(hid_t plist )
func (p *PropList) Close() error {
	err := C.H5Pclose(p.id)
	return h5err(err)
}