/usr/lib/python2.7/dist-packages/cypari2/paripriv.pxd is in python-cypari2 1.1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # distutils: libraries = gmp pari
"""
Declarations for private functions from PARI
Ideally, we shouldn't use these, but for technical reasons, we have to.
"""
from .types cimport *
cdef extern from "pari/paripriv.h":
int t_FF_FpXQ, t_FF_Flxq, t_FF_F2xq
int gpd_QUIET, gpd_TEST, gpd_EMACS, gpd_TEXMACS
struct pariout_t:
char format # e,f,g
long fieldw # 0 (ignored) or field width
long sigd # -1 (all) or number of significant digits printed
int sp # 0 = suppress whitespace from output
int prettyp # output style: raw, prettyprint, etc
int TeXstyle
struct gp_data:
pariout_t *fmt
unsigned long flags
extern gp_data* GP_DATA
# In older versions of PARI, this is declared in the private
# non-installed PARI header file "anal.h". More recently, this is
# declared in "paripriv.h". Since a double declaration does not hurt,
# we declare it here regardless.
cdef extern const char* closure_func_err()
|