GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
errorhandler.h File Reference

Functionality for user-defined error handlers. More...

#include "error.h"
Include dependency graph for errorhandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void *(* ghost_errorhandler )(void *error)
 

Functions

ghost_errorhandler ghost_errorhandler_get (ghost_error e)
 Get the handler of a given GHOST error. More...
 
ghost_error ghost_errorhandler_set (ghost_error e, ghost_errorhandler h)
 Get the handler of a given GHOST error. More...
 

Detailed Description

Functionality for user-defined error handlers.

Author
Moritz Kreutzer morit.nosp@m.z.kr.nosp@m.eutze.nosp@m.r@fa.nosp@m.u.de

Typedef Documentation

typedef void*(* ghost_errorhandler)(void *error)

Function Documentation

ghost_errorhandler ghost_errorhandler_get ( ghost_error  e)

Get the handler of a given GHOST error.

Parameters
eThe error.
Returns
The error handler of NULL if none is set.
ghost_error ghost_errorhandler_set ( ghost_error  e,
ghost_errorhandler  h 
)

Get the handler of a given GHOST error.

Parameters
eThe error.
hThe handler.