distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
fatalErrorHandler.h
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_INTERNAL_FATALERRORHANDLER_H_
13 #define INCLUDE_DISTORTOS_INTERNAL_FATALERRORHANDLER_H_
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif /* def __cplusplus */
19 
32 void fatalErrorHandler(const char* file, int line, const char* function,
33  const char* message) __attribute__ ((noreturn));
34 
35 #ifdef __cplusplus
36 } /* extern "C" */
37 #endif /* def __cplusplus */
38 
39 #endif /* INCLUDE_DISTORTOS_INTERNAL_FATALERRORHANDLER_H_ */
void fatalErrorHandler(const char *file, int line, const char *function, const char *message)
Handler of fatal errors.
Definition: fatalErrorHandler.cpp:26