aboutsummaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-04-30 05:35:18 +0300
committerPaul Sokolovsky2014-04-30 05:35:18 +0300
commite908591baaf74db521c973369b15951184e2134b (patch)
tree5433adf55ee52e4f61111855bd764a9c66bd3913 /py/mpconfig.h
parentb1ce37d32e1b77373a86d27d1f1f925891a402d1 (diff)
py: Abstract no-return attribute for functions a bit.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h3
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))