X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/blobdiff_plain/ad84d8c2d6ff5e1285ecca5a2c3e015d8b4dc14e..917dbf4b50d8fb81d7f899b3397ced4537699255:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index 77c7eae..490862b 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -46,6 +46,7 @@ #include #include +#include #include #include @@ -68,6 +69,8 @@ #include #include #include +#include +#include #include #include @@ -86,6 +89,10 @@ #include #include #include +#include +#include +#include +#include #include #include @@ -317,10 +324,11 @@ extern mp *getgf(PyObject *); extern int convgf(PyObject *, void *); extern PyObject *mp_pywrap(mp *); extern PyObject *gf_pywrap(mp *); +extern long mphash(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 ---------------------------------------------------*/