Skip to content

Commit 0e63371

Browse files
committed
Fix comment for closure_func_err()
1 parent 0f821c4 commit 0e63371

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cypari2/paripriv.pxd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ cdef extern from "pari/paripriv.h":
2626

2727
extern gp_data* GP_DATA
2828

29-
cdef extern: # Declared in private PARI header file "anal.h"
30-
const char* closure_func_err()
29+
# In older versions of PARI, this is declared in the private
30+
# non-installed PARI header file "anal.h". More recently, this is
31+
# declared in "paripriv.h". Since a double declaration does not hurt,
32+
# we declare it here regardless.
33+
cdef extern const char* closure_func_err()

0 commit comments

Comments
 (0)