diff options
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5Exception.cpp | 4 | ||||
-rw-r--r-- | c++/src/H5Exception.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index 2ea07c3..d89f486 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -109,7 +109,7 @@ string Exception::getMinorString( hid_t err_minor ) const /// handlers // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -void Exception::setAutoPrint( H5E_auto_t& func, void* client_data ) +void Exception::setAutoPrint( H5E_auto_stack_t& func, void* client_data ) { // calls the C API routine H5Eset_auto to set the auto printing to // the specified function. @@ -142,7 +142,7 @@ void Exception::dontPrint() /// the error function // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -void Exception::getAutoPrint( H5E_auto_t& func, void** client_data ) +void Exception::getAutoPrint( H5E_auto_stack_t& func, void** client_data ) { // calls the C API routine H5Eget_auto to get the current setting of // the automatic error printing diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h index c67ca3f..4a5bf37 100644 --- a/c++/src/H5Exception.h +++ b/c++/src/H5Exception.h @@ -46,14 +46,14 @@ class H5_DLLCPP Exception { const char* getCFuncName() const; // function name as a char string // Turns on the automatic error printing. - static void setAutoPrint( H5E_auto_t& func, void* client_data); + static void setAutoPrint( H5E_auto_stack_t& func, void* client_data); // Turns off the automatic error printing. static void dontPrint(); // Retrieves the current settings for the automatic error stack // traversal function and its data. - static void getAutoPrint( H5E_auto_t& func, void** client_data); + static void getAutoPrint( H5E_auto_stack_t& func, void** client_data); // Clears the error stack for the current thread. static void clearErrorStack(); |