mp.c: Factor out and export `mphash'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Oct 2019 10:48:12 +0000 (11:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
catacomb-python.h

index 0307701..490862b 100644 (file)
@@ -324,6 +324,7 @@ 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 *);