summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-12-05 20:26:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-12-05 20:26:39 (GMT)
commit6ecbcc1717aa79dbaa00926b7a5f095a921f8991 (patch)
tree6a5a949e3ef0419d9eb9ad05c90f083a8f49d066 /src/H5Ppublic.h
parent253123994aaecc1f1fc917383b663104d6630d0f (diff)
downloadhdf5-6ecbcc1717aa79dbaa00926b7a5f095a921f8991.zip
hdf5-6ecbcc1717aa79dbaa00926b7a5f095a921f8991.tar.gz
hdf5-6ecbcc1717aa79dbaa00926b7a5f095a921f8991.tar.bz2
[svn-r4676] Purpose:
Backward Compatibility Fix Description: One of H5P[gs]et_buffer's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_buffer 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index bbfba2c..fc5f551 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -179,10 +179,17 @@ __DLL__ herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id,
const void *driver_info);
__DLL__ hid_t H5Pget_driver(hid_t plist_id);
__DLL__ void *H5Pget_driver_info(hid_t plist_id);
+#ifdef H5_WANT_H5_V1_4_COMPAT
+__DLL__ herr_t H5Pset_buffer(hid_t plist_id, hsize_t size, void *tconv,
+ void *bkg);
+__DLL__ hsize_t H5Pget_buffer(hid_t plist_id, void **tconv/*out*/,
+ void **bkg/*out*/);
+#else /* H5_WANT_H5_V1_4_COMPAT */
__DLL__ herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv,
void *bkg);
__DLL__ size_t H5Pget_buffer(hid_t plist_id, void **tconv/*out*/,
void **bkg/*out*/);
+#endif /* H5_WANT_H5_V1_4_COMPAT */
__DLL__ herr_t H5Pset_preserve(hid_t plist_id, hbool_t status);
__DLL__ int H5Pget_preserve(hid_t plist_id);
__DLL__ herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter,