// Close closes an open packet table. func (t *Table) Close() error { if t.id == 0 { return nil } err := h5err(C.H5PTclose(t.id)) t.id = 0 return err }
// Closes an open packet table. // herr_t H5PTclose( hid_t table_id ) func (t *Table) Close() error { if t.id > 0 { err := togo_err(C.H5PTclose(t.id)) if err != nil { t.id = 0 } return err } return nil }