distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
fatalErrorHook.h
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_FATALERRORHOOK_H_
13 #define INCLUDE_DISTORTOS_FATALERRORHOOK_H_
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif /* def __cplusplus */
19 
35 void fatalErrorHook(const char* file, int line, const char* function, const char* message) __attribute__ ((weak));
36 
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif /* def __cplusplus */
40 
41 #endif /* INCLUDE_DISTORTOS_FATALERRORHOOK_H_ */
void fatalErrorHook(const char *file, int line, const char *function, const char *message)
Hook function called when fatal error is detected.