Added an API for user exception handlers
This commit is contained in:
parent
42ccb47eb3
commit
4838072ecf
2 changed files with 22 additions and 0 deletions
9
core/include/user_exception.h
Normal file
9
core/include/user_exception.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* Allows the user to set their own exception handler. */
|
||||
|
||||
#ifndef _USER_EXCEPTION_H
|
||||
#define _USER_EXCEPTION_H
|
||||
|
||||
void set_user_exception_handler(void (*fn)(void));
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue