Skip to content

Commit 064120a

Browse files
authored
Merge pull request #165 from antonio-rojas/pari_PRIMES
Add pari_PRIMES declaration
2 parents 2eae8c8 + 0a5a7b4 commit 064120a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cypari2/paridecl.pxd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ cdef extern from *: # PARI headers already included by types.pxd
118118
extern PariOUT* pariOut
119119
extern PariOUT* pariErr
120120
extern byteptr diffptr
121+
extern pari_prime* pari_PRIMES
121122

122123
###############################################
123124
# #

cypari2/types.pxd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cdef extern from "pari/pari.h":
2424
ctypedef long* GEN
2525
ctypedef char* byteptr
2626
ctypedef unsigned long pari_sp
27+
ctypedef unsigned long pari_prime
2728

2829
# PARI types
2930
enum:

0 commit comments

Comments
 (0)