~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mp.c: Accept arbitrary iterables as inputs to `MPCRT'.
[catacomb-python]
/
catacomb-python.h
diff --git
a/catacomb-python.h
b/catacomb-python.h
index
9b60ce4
..
6128cc8
100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-81,6
+81,7
@@
PUBLIC_SYMBOLS;
#include <catacomb/mp-fibonacci.h>
#include <catacomb/pgen.h>
#include <catacomb/mp-fibonacci.h>
#include <catacomb/pgen.h>
+#include <catacomb/primeiter.h>
#include <catacomb/pfilt.h>
#include <catacomb/strongprime.h>
#include <catacomb/limlee.h>
#include <catacomb/pfilt.h>
#include <catacomb/strongprime.h>
#include <catacomb/limlee.h>
@@
-150,7
+151,7
@@
extern PyObject *mexp_common(PyObject *, PyObject *, size_t,
PyObject *(*id)(PyObject *),
int (*fill)(void *, PyObject *,
PyObject *, PyObject *),
PyObject *(*id)(PyObject *),
int (*fill)(void *, PyObject *,
PyObject *, PyObject *),
- PyObject *(*exp)(PyObject *, void *,
in
t),
+ PyObject *(*exp)(PyObject *, void *,
size_
t),
void (*drop)(void *));
/*----- Bytestrings -------------------------------------------------------*/
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 *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 *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 *);
extern mp *getgf(PyObject *);
extern int convgf(PyObject *, void *);
extern PyObject *mp_pywrap(mp *);