diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-29 14:16:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-29 14:16:45 (GMT) |
commit | 2da3744374d4701a303c53339934c9d56dec6d50 (patch) | |
tree | 71c6adb1e0a6d1e26c7683990a3d1b94f173c38a /c++ | |
parent | b64b643c54a2cee2c53a72901bd86d17fa81d216 (diff) | |
download | hdf5-2da3744374d4701a303c53339934c9d56dec6d50.zip hdf5-2da3744374d4701a303c53339934c9d56dec6d50.tar.gz hdf5-2da3744374d4701a303c53339934c9d56dec6d50.tar.bz2 |
[svn-r8432] Purpose:
Bug fix
Description:
Change C++ methods to match C prototypes for datatype overflow callback
routines.
Platforms tested:
FreeBSD 4.9 (sleipnir) w/C++
too minor to require h5committest
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5DxferProp.cpp | 4 | ||||
-rw-r--r-- | c++/src/H5DxferProp.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5DxferProp.cpp b/c++/src/H5DxferProp.cpp index 0c0b0db..cf5ef81 100644 --- a/c++/src/H5DxferProp.cpp +++ b/c++/src/H5DxferProp.cpp @@ -106,7 +106,7 @@ void DSetMemXferPropList::getBtreeRatios( double& left, double& middle, double& // Sets an exception handling callback for datatype conversion // for a dataset transfer property list -void DSetMemXferPropList::setTypeConvCB( H5T_conv_except_func_t *op, void *user_data) const +void DSetMemXferPropList::setTypeConvCB( H5T_conv_except_func_t op, void *user_data) const { herr_t ret_value = H5Pset_type_conv_cb( id, op, user_data); if( ret_value < 0 ) @@ -118,7 +118,7 @@ void DSetMemXferPropList::setTypeConvCB( H5T_conv_except_func_t *op, void *user_ // Sets an exception handling callback for datatype conversion // for a dataset transfer property list -void DSetMemXferPropList::getTypeConvCB( H5T_conv_except_func_t **op, void **user_data) const +void DSetMemXferPropList::getTypeConvCB( H5T_conv_except_func_t *op, void **user_data) const { herr_t ret_value = H5Pget_type_conv_cb( id, op, user_data); if( ret_value < 0 ) diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h index 5bdb557..dab2907 100644 --- a/c++/src/H5DxferProp.h +++ b/c++/src/H5DxferProp.h @@ -49,10 +49,10 @@ class H5_DLLCPP DSetMemXferPropList : public PropList { void getBtreeRatios( double& left, double& middle, double& right ) const; // Sets an exception handling callback for datatype conversion - void setTypeConvCB( H5T_conv_except_func_t *op, void *user_data) const; + void setTypeConvCB( H5T_conv_except_func_t op, void *user_data) const; // Gets the exception handling callback for datatype conversion - void getTypeConvCB( H5T_conv_except_func_t **op, void **user_data) const; + void getTypeConvCB( H5T_conv_except_func_t *op, void **user_data) const; // Sets the memory manager for variable-length datatype // allocation in H5Dread and H5Dvlen_reclaim |