This commit is contained in:
2026-04-10 15:06:59 +02:00
parent 3031b7153b
commit e5a4711004
7806 changed files with 1918528 additions and 335 deletions

View File

@@ -0,0 +1,21 @@
#ifndef NUMBA_ARYSTRUCT_H_
#define NUMBA_ARYSTRUCT_H_
/*
* Fill in the *arystruct* with information from the Numpy array *obj*.
* *arystruct*'s layout is defined in numba.targets.arrayobj (look
* for the ArrayTemplate class).
*/
typedef struct {
void *meminfo; /* see _nrt_python.c and nrt.h in numba/core/runtime */
PyObject *parent;
npy_intp nitems;
npy_intp itemsize;
void *data;
npy_intp shape_and_strides[];
} arystruct_t;
#endif /* NUMBA_ARYSTRUCT_H_ */