summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-17 23:25:01 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-17 23:25:01 (GMT)
commita75e8dd654268ba1dd35abf3a78da2f115802029 (patch)
tree55ce2f23d860187f021d11c3611fa43c314eff6b /c++/src/H5DcreatProp.cpp
parentca6e13d3dff9c188d80cb84876cf3ccfeb6b6203 (diff)
downloadhdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.zip
hdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.tar.gz
hdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.tar.bz2
[svn-r25061] Description:
Put back overloaded functions for backward compatibility: - were replaced by better prototyped versions, such as Attribute::getName. - were modified to add const to constant arguments. Added notes for future removal in documentation. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r--c++/src/H5DcreatProp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp
index 4d46a7d..2b124ee 100644
--- a/c++/src/H5DcreatProp.cpp
+++ b/c++/src/H5DcreatProp.cpp
@@ -356,8 +356,11 @@ int DSetCreatPropList::getNfilters() const
///\exception H5::PropListIException
///\par Description
/// Failure occurs when \a filter_number is out of range.
+// Note: the first argument was mistakenly typed as int instead
+// of unsigned int, but for backward compatibility, it cannot be
+// changed. -BMR (2014/04/15)
//--------------------------------------------------------------------------
-H5Z_filter_t DSetCreatPropList::getFilter(unsigned int filter_number,
+H5Z_filter_t DSetCreatPropList::getFilter(int filter_number,
unsigned int &flags, size_t &cd_nelmts, unsigned int* cd_values,
size_t namelen, char name[], unsigned int& filter_config) const
{