Aluode/PerceptionLabPortable
0
1#ifndef NUMBA_ARYSTRUCT_H_
2#define NUMBA_ARYSTRUCT_H_
3/*
4 * Fill in the *arystruct* with information from the Numpy array *obj*.
5 * *arystruct*'s layout is defined in numba.targets.arrayobj (look
6 * for the ArrayTemplate class).
7 */
8
9typedef struct {
10 void *meminfo; /* see _nrt_python.c and nrt.h in numba/core/runtime */
11 PyObject *parent;
12 npy_intp nitems;
13 npy_intp itemsize;
14 void *data;
15
16 npy_intp shape_and_strides[];
17} arystruct_t;
18
19
20#endif /* NUMBA_ARYSTRUCT_H_ */
21
22 