diff options
| author | Damien George | 2017-11-20 17:29:58 +1100 |
|---|---|---|
| committer | Damien George | 2017-12-11 13:49:09 +1100 |
| commit | 5b8998da6dfed6c8f54b8b34228f25d93dbb9d29 (patch) | |
| tree | a968bc2a8d4459fb4ca29e4a3fc7195b689d0bc0 /py/runtime.h | |
| parent | c60fc670ea9c2f525e16bb5a175db077b71b93e6 (diff) | |
py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise.
For consistency this helper function is renamed to match the other
exception helpers, and moved to their location in runtime.c.
Diffstat (limited to 'py/runtime.h')
| -rw-r--r-- | py/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h index 3f0d1104e..a19f64c06 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -151,7 +151,7 @@ NORETURN void mp_raise_ValueError(const char *msg); NORETURN void mp_raise_TypeError(const char *msg); NORETURN void mp_raise_NotImplementedError(const char *msg); NORETURN void mp_raise_OSError(int errno_); -NORETURN void mp_exc_recursion_depth(void); +NORETURN void mp_raise_recursion_depth(void); #if MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG #undef mp_check_self |
