X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/pyke/blobdiff_plain/54ecf9dd37fb6fac413c9545b2788edb54e20bff..c474ffa62f8ea8cd32f8c47b246c0312c8220f0c:/catacomb-python.h?ds=sidebyside diff --git a/catacomb-python.h b/catacomb-python.h index f1e6365..1989cd0 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 @@ -321,7 +327,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 ---------------------------------------------------*/ @@ -497,7 +503,6 @@ extern PyTypeObject *gccipher_pytype; #define GCCIPHER_F(o) (((gccipher_pyobj *)(o))->f) extern PyObject *gccipher_pywrap(gccipher *); extern int convgccipher(PyObject *, void *); -extern int convgcipher(PyObject *, void *); typedef struct gcipher_pyobj { PyObject_HEAD