Пример #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
}
Пример #2
0
// 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)
}