예제 #1
0
파일: h5p.go 프로젝트: jonlawlor/go-hdf5
// 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
파일: h5p.go 프로젝트: 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)
}