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