circuitpython/shared/libc/abort_.c
2022-05-27 12:59:54 -07:00

8 lines
159 B
C

#include <py/runtime.h>
NORETURN void abort_(void);
NORETURN void abort_(void) {
mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("abort() called"));
}