X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/204d480b9f065082728d39d981f505d3bff58bb2..a7f2e3893166d7ce7e9d63437d6eebcad5e9c55c:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index 0949562..d7e2543 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -33,6 +33,8 @@ /*----- Header files ------------------------------------------------------*/ +#define PY_SSIZE_T_CLEAN + #include #include #include @@ -44,6 +46,7 @@ #include #include +#include #include #include @@ -84,6 +87,9 @@ #include #include #include +#include +#include +#include #include #include @@ -318,7 +324,7 @@ extern PyObject *gf_pywrap(mp *); extern mp *mp_frompyobject(PyObject *, int); extern PyObject *mp_topystring(mp *, int, const char *, const char *, const char *); -extern int mp_tolong_checked(mp *, long *); +extern int mp_tolong_checked(mp *, long *, int); /*----- Abstract fields ---------------------------------------------------*/