X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/blobdiff_plain/0fed227da78a251032d6e1080ea968b3c7b86203..ca473903465c8a6e83acee23d7e6bba6b6cb23b9:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index bbb5fac..364a3c9 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -134,6 +134,7 @@ } while (0) #define VALERR(str) EXCERR(PyExc_ValueError, str) #define TYERR(str) EXCERR(PyExc_TypeError, str) +#define IXERR(str) EXCERR(PyExc_IndexError, str) #define ZDIVERR(str) EXCERR(PyExc_ZeroDivisionError, str) #define SYSERR(str) EXCERR(PyExc_SystemError, str) #define NIERR(str) EXCERR(PyExc_NotImplementedError, str)