/usr/include/python2.7/pygame/pgarrinter.h is in python-pygame 1.9.1release+dfsg-5.
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 | /* array structure interface version 3 declarations */
const int PAI_CONTIGUOUS = 0x01;
const int PAI_FORTRAN = 0x02;
const int PAI_ALIGNED = 0x100;
const int PAI_NOTSWAPPED = 0x200;
const int PAI_WRITEABLE = 0x400;
typedef struct {
int two; /* contains the integer 2 -- simple sanity check */
int nd; /* number of dimensions */
char typekind; /* kind in array -- character code of typestr */
int itemsize; /* size of each element */
int flags; /* flags indicating how the data should be */
/* interpreted */
Py_intptr_t *shape; /* A length-nd array of shape information */
Py_intptr_t *strides; /* A length-nd array of stride information */
void *data; /* A pointer to the first element of the array */
PyObject *descr; /* NULL or a data-description */
} PyArrayInterface;
|