summaryrefslogtreecommitdiffstatshomepage
path: root/shared/libc/abort_.c
blob: 54eab67d3fb49d015275179ffbb61ab555513ca2 (plain) (blame)
1
2
3
4
5
6
7
#include <py/runtime.h>

MP_NORETURN void abort_(void);

MP_NORETURN void abort_(void) {
    mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("abort() called"));
}