mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
8 lines
167 B
C
8 lines
167 B
C
#include <py/runtime.h>
|
|
|
|
NORETURN void abort_(void);
|
|
|
|
NORETURN void abort_(void) {
|
|
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "abort() called"));
|
|
}
|