X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/ef352465e0a513d83fb4c76695a4787387cf8e73..9044246b9b886e4714da30fcc84e85aad00c3b1a:/catacomb-python.h diff --git a/catacomb-python.h b/catacomb-python.h index c272b53..b1120fa 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -233,7 +233,8 @@ MODULES(DO) return (d); \ } -struct nameval { const char *name; unsigned long value; }; +struct nameval { const char *name; unsigned f; unsigned long value; }; +#define CF_SIGNED 1u extern void setconstants(PyObject *, const struct nameval *); extern PyObject *mexp_common(PyObject *, PyObject *, size_t,