Debian Codegraph @

pypy/module/cpyext/include/_numpypy/numpy/npy_common.h

raw symbols SCIP
1 #ifndef _NPY_COMMON_H_
2 #define _NPY_COMMON_H_
3
4 typedef long npy_intp;
5 typedef unsigned long npy_uintp;
6 typedef PY_LONG_LONG npy_longlong;
7 typedef unsigned PY_LONG_LONG npy_ulonglong;
8 typedef unsigned char npy_bool;
9 typedef long npy_int32;
10 typedef unsigned long npy_uint32;
11 typedef unsigned long npy_ucs4;
12 typedef long npy_int64;
13 typedef unsigned long npy_uint64;
14 typedef unsigned char npy_uint8;
15
16 typedef signed char npy_byte;
17 typedef unsigned char npy_ubyte;
18 typedef unsigned short npy_ushort;
19 typedef unsigned int npy_uint;
20 typedef unsigned long npy_ulong;
21
22 /* These are for completeness */
23 typedef char npy_char;
24 typedef short npy_short;
25 typedef int npy_int;
26 typedef long npy_long;
27 typedef float npy_float;
28 typedef double npy_double;
29
30 typedef struct { float real, imag; } npy_cfloat;
31 typedef struct { double real, imag; } npy_cdouble;
32 typedef npy_cdouble npy_complex128;
33 #if defined(_MSC_VER)
34 #define NPY_INLINE __inline
35 #elif defined(__GNUC__)
36 #if defined(__STRICT_ANSI__)
37 #define NPY_INLINE __inline__
38 #else
39 #define NPY_INLINE inline
40 #endif
41 #else
42 #define NPY_INLINE
43 #endif
44 #ifndef NPY_INTP_FMT
45 #define NPY_INTP_FMT "ld"
46 #endif
47 #define NPY_API_VERSION 0x8
48 #endif //_NPY_COMMON_H_
49