GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
errorhandler.h
Go to the documentation of this file.
1 
6 #ifndef GHOST_ERRORHANDLER_H
7 #define GHOST_ERRORHANDLER_H
8 
9 #include "error.h"
10 
11 typedef void * (*ghost_errorhandler)(void *error);
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
25 
26 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif
ghost_error ghost_errorhandler_set(ghost_error e, ghost_errorhandler h)
Get the handler of a given GHOST error.
Definition: errorhandler.cpp:17
Types, functions and macros for error handling.
ghost_error
Error return type.
Definition: error.h:23
ghost_errorhandler ghost_errorhandler_get(ghost_error e)
Get the handler of a given GHOST error.
Definition: errorhandler.cpp:9
void *(* ghost_errorhandler)(void *error)
Definition: errorhandler.h:11