File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ cdef extern from "gmp.h":
2323 ctypedef unsigned long mp_limb_t
2424 ctypedef long mp_size_t
2525 ctypedef long mp_exp_t
26- ctypedef unsigned long mp_limb_t
2726 ctypedef mp_limb_t* mp_ptr
2827 ctypedef mp_limb_t* mp_srcptr
2928 ctypedef unsigned long mp_bitcnt_t
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ cdef flint_rand_t global_random_state
1010flint_randinit(global_random_state)
1111
1212cdef extern from " Python.h" :
13- ctypedef void PyObject
14- ctypedef void PyTypeObject
15- ctypedef long Py_ssize_t
1613 int PyObject_TypeCheck(object , PyTypeObject* )
1714 int PyInt_Check(PyObject * o)
1815 PyObject* PyInt_FromLong(long ival)
@@ -67,12 +64,12 @@ cdef long dps_to_prec(n):
6764 return max (1 , int (round ((int (n)+ 1 )* 3.3219280948873626 )))
6865
6966cdef class FlintContext:
70- cpdef public bint pretty
71- cpdef public long _prec
72- cpdef public long _dps
73- cpdef arf_rnd_t rnd
74- cpdef public bint unicode
75- cpdef public long _cap
67+ cdef public bint pretty
68+ cdef public long _prec
69+ cdef public long _dps
70+ cdef arf_rnd_t rnd
71+ cdef public bint unicode
72+ cdef public long _cap
7673
7774 def __init__ (self ):
7875 self .default()
@@ -296,7 +293,6 @@ cdef class flint_series(flint_elem):
296293 return list (self )
297294
298295
299-
300296include " fmpz.pyx"
301297include " fmpz_poly.pyx"
302298include " fmpz_mpoly.pyx"
You can’t perform that action at this time.
0 commit comments