From 2da3744374d4701a303c53339934c9d56dec6d50 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 29 Apr 2004 09:16:45 -0500 Subject: [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 --- c++/src/H5DxferProp.cpp | 4 ++-- 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 -- cgit v0.12