diff options
| author | Paul Sokolovsky | 2014-04-30 05:35:18 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-04-30 05:35:18 +0300 |
| commit | e908591baaf74db521c973369b15951184e2134b (patch) | |
| tree | 5433adf55ee52e4f61111855bd764a9c66bd3913 /py/mpconfig.h | |
| parent | b1ce37d32e1b77373a86d27d1f1f925891a402d1 (diff) | |
py: Abstract no-return attribute for functions a bit.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 13918e839..04d4a7ddc 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -230,3 +230,6 @@ typedef double mp_float_t; #define INT_FMT "%d" #endif #endif //INT_FMT + +// Modifier for function which doesn't return +#define NORETURN __attribute__((noreturn)) |
