X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/bfb450ccb248489a622c7dcb51ed5e150eb8f3b6..be6df1c38491ef517f2f55f2abc9c9e64ea034b0:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index f1e6365..490862b 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -69,6 +69,8 @@ #include #include #include +#include +#include #include #include @@ -87,6 +89,10 @@ #include #include #include +#include +#include +#include +#include #include #include @@ -318,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 ---------------------------------------------------*/