X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/128fdfb460f846e63811d5b1c14de89d30384793..d91d53e0e3b769955cc2adfb8aed493ce84367d3:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index 9b60ce4..6128cc8 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -81,6 +81,7 @@ PUBLIC_SYMBOLS; #include #include +#include #include #include #include @@ -150,7 +151,7 @@ extern PyObject *mexp_common(PyObject *, PyObject *, size_t, PyObject *(*id)(PyObject *), int (*fill)(void *, PyObject *, PyObject *, PyObject *), - PyObject *(*exp)(PyObject *, void *, int), + PyObject *(*exp)(PyObject *, void *, size_t), void (*drop)(void *)); /*----- Bytestrings -------------------------------------------------------*/ @@ -195,8 +196,10 @@ extern PyTypeObject *gf_pytype; extern mp *mp_frompylong(PyObject *); extern PyObject *mp_topylong(mp *); extern mp *tomp(PyObject *); +extern mp *implicitmp(PyObject *); extern mp *getmp(PyObject *); extern int convmp(PyObject *, void *); +extern mp *implicitgf(PyObject *); extern mp *getgf(PyObject *); extern int convgf(PyObject *, void *); extern PyObject *mp_pywrap(mp *);