diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-05-30 15:33:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 15:33:52 (GMT) |
commit | 81bc34ac4c3f42532edee32095651f6bcd5e55a2 (patch) | |
tree | 31c71ea5ac918620c21133d77a44cae70f1ef289 /src/H5Fpkg.h | |
parent | 962593fb0aaabe8cc8d05e162e4bd2745e164f0b (diff) | |
download | hdf5-81bc34ac4c3f42532edee32095651f6bcd5e55a2.zip hdf5-81bc34ac4c3f42532edee32095651f6bcd5e55a2.tar.gz hdf5-81bc34ac4c3f42532edee32095651f6bcd5e55a2.tar.bz2 |
Only pass efc pointer to H5F__efc_open (#3026)
The H5F__efc_open() API call only needs the efc pointer, so there is
no need to pass the entire file struct in.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r-- | src/H5Fpkg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index 9f7002f..ead3872 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -452,7 +452,7 @@ H5_DLL herr_t H5F__set_mpi_atomicity(H5F_t *file, hbool_t flag); /* External file cache routines */ H5_DLL H5F_efc_t *H5F__efc_create(unsigned max_nfiles); -H5_DLL H5F_t *H5F__efc_open(H5F_t *parent, const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id); +H5_DLL H5F_t *H5F__efc_open(H5F_efc_t *efc, const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id); H5_DLL unsigned H5F__efc_max_nfiles(H5F_efc_t *efc); H5_DLL herr_t H5F__efc_release(H5F_efc_t *efc); H5_DLL herr_t H5F__efc_destroy(H5F_efc_t *efc); |