Merge branch 'master' into RT_MACRO
This commit is contained in:
commit
2aae989f40
|
@ -1290,7 +1290,8 @@ void (*rt_assert_hook)(const char* ex, const char* func, rt_size_t line);
|
||||||
*
|
*
|
||||||
* @param hook the hook function
|
* @param hook the hook function
|
||||||
*/
|
*/
|
||||||
void rt_assert_set_hook(void (*hook)(const char* ex, const char* func, rt_size_t line)) {
|
void rt_assert_set_hook(void (*hook)(const char *ex, const char *func, rt_size_t line))
|
||||||
|
{
|
||||||
rt_assert_hook = hook;
|
rt_assert_hook = hook;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue