summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DxferProp.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 /c++/src/H5DxferProp.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 'c++/src/H5DxferProp.h')
-rw-r--r--c++/src/H5DxferProp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h
index d868ed8..a612805 100644
--- a/c++/src/H5DxferProp.h
+++ b/c++/src/H5DxferProp.h
@@ -16,11 +16,19 @@ class DSetMemXferPropList : public PropList {
// Copy constructor: creates a copy of a DSetMemXferPropList object
DSetMemXferPropList( const DSetMemXferPropList& orig );
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ // Sets type conversion and background buffers
+ void setBuffer( hsize_t size, void* tconv, void* bkg ) const;
+
+ // Reads buffer settings
+ hsize_t getBuffer( void** tconv, void** bkg ) const;
+#else /* H5_WANT_H5_V1_4_COMPAT */
// Sets type conversion and background buffers
void setBuffer( size_t size, void* tconv, void* bkg ) const;
// Reads buffer settings
size_t getBuffer( void** tconv, void** bkg ) const;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
// Sets the dataset transfer property list status to TRUE or FALSE
void setPreserve( bool status ) const;