diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:12:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:12:32 (GMT) |
commit | a9c747deba6e588b2ec5bc624a53c976a9faa3bc (patch) | |
tree | 4a9c1f2c4f2b383a62e2f9e8b87ab3ef154f810c /src/H5Ppublic.h | |
parent | 2167e3c495aada1c47375cdf923d26c583dce768 (diff) | |
download | hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.zip hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.tar.gz hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.tar.bz2 |
[svn-r4669] Purpose:
Backward Compatibility Fix
Description:
One of H5P[gs]et_cache's parameters changed between v1.4 and the development
branch.
Solution:
Added v1.4 compat stuff around H5P[gs]et_cache implementation and testing
to allow v1.4.x users to continue to use their source code without
modification.
These changes are for everything except the FORTRAN wrappers - I spoke with
Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r-- | src/H5Ppublic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 416d9b7..9a34f58 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -190,11 +190,19 @@ __DLL__ H5Z_filter_t H5Pget_filter(hid_t plist_id, int filter, unsigned cd_values[]/*out*/, size_t namelen, char name[]); __DLL__ herr_t H5Pset_deflate(hid_t plist_id, unsigned aggression); +#ifdef H5_WANT_H5_V1_4_COMPAT +__DLL__ herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, int rdcc_nelmts, + size_t rdcc_nbytes, double rdcc_w0); +__DLL__ herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts/*out*/, + int *rdcc_nelmts/*out*/, + size_t *rdcc_nbytes/*out*/, double *rdcc_w0); +#else /* H5_WANT_H5_V1_4_COMPAT */ __DLL__ herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nelmts, size_t rdcc_nbytes, double rdcc_w0); __DLL__ herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts/*out*/, size_t *rdcc_nelmts/*out*/, size_t *rdcc_nbytes/*out*/, double *rdcc_w0); +#endif /* H5_WANT_H5_V1_4_COMPAT */ __DLL__ herr_t H5Pset_hyper_cache(hid_t plist_id, unsigned cache, unsigned limit); __DLL__ herr_t H5Pget_hyper_cache(hid_t plist_id, unsigned *cache, |