X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/6b54260d1f5312a3ec58be3ee1eb168ddf9cf2e2..cb46f06b084bb7574b6f7cde13bf413f58a1e91c:/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 ---------------------------------------------------*/