diff --git a/cypari2/paridecl.pxd b/cypari2/paridecl.pxd index 29cb8ef8..9ccf3361 100644 --- a/cypari2/paridecl.pxd +++ b/cypari2/paridecl.pxd @@ -118,6 +118,7 @@ cdef extern from *: # PARI headers already included by types.pxd extern PariOUT* pariOut extern PariOUT* pariErr extern byteptr diffptr + extern pari_prime* pari_PRIMES ############################################### # # diff --git a/cypari2/types.pxd b/cypari2/types.pxd index 9ee4fe67..7f00b52e 100644 --- a/cypari2/types.pxd +++ b/cypari2/types.pxd @@ -24,6 +24,7 @@ cdef extern from "pari/pari.h": ctypedef long* GEN ctypedef char* byteptr ctypedef unsigned long pari_sp + ctypedef unsigned long pari_prime # PARI types enum: