From c6b05f1ffdddaf4ac857cdbcb00ceff098fca489 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 24 Nov 2019 14:59:35 +0000 Subject: [PATCH] catacomb-python.h: Add a macro for raising `OverflowError'. --- catacomb-python.h | 1 + 1 file changed, 1 insertion(+) diff --git a/catacomb-python.h b/catacomb-python.h index b1120fa..ad27461 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -133,6 +133,7 @@ goto end; \ } while (0) #define VALERR(str) EXCERR(PyExc_ValueError, str) +#define OVFERR(str) EXCERR(PyExc_OverflowError, str) #define TYERR(str) EXCERR(PyExc_TypeError, str) #define ZDIVERR(str) EXCERR(PyExc_ZeroDivisionError, str) #define SYSERR(str) EXCERR(PyExc_SystemError, str) -- 2.11.0