X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/dafb2da44bb35c7057744ca820833cde6d43c534..4d09d07e731d0454bf9f103ba486f06edcc6c2df:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index 41c5292..bbb5fac 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -69,6 +69,8 @@ #include #include #include +#include +#include #include #include @@ -88,7 +90,9 @@ #include #include #include +#include #include +#include #include #include @@ -227,6 +231,8 @@ MODULES(DO) return (d); \ } +#define KWLIST (/*unconst*/ char **)kwlist + struct nameval { const char *name; unsigned long value; }; extern void setconstants(PyObject *, const struct nameval *); @@ -499,7 +505,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