chore: import upstream snapshot with attribution
Build / Build and test on ubuntu-latest for x86_64 (push) Failing after 1s
Build / Build and test on ubuntu-latest (numpy 1.26) for x86_64 (push) Failing after 0s
Build / Build and test on ubuntu-24.04-arm for aarch64 (push) Has been cancelled
Build / Build and test on windows-11-arm for aarch64 (push) Has been cancelled
Build / Build and test on macos-latest for x86_64 (push) Has been cancelled
Build / Build and test on windows-latest for x86_64 (push) Has been cancelled
Build / Build and test on ubuntu-latest for x86_64 (push) Failing after 1s
Build / Build and test on ubuntu-latest (numpy 1.26) for x86_64 (push) Failing after 0s
Build / Build and test on ubuntu-24.04-arm for aarch64 (push) Has been cancelled
Build / Build and test on windows-11-arm for aarch64 (push) Has been cancelled
Build / Build and test on macos-latest for x86_64 (push) Has been cancelled
Build / Build and test on windows-latest for x86_64 (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef NUMEXPR_OBJECT_HPP
|
||||
#define NUMEXPR_OBJECT_HPP
|
||||
/*********************************************************************
|
||||
Numexpr - Fast numerical array expression evaluator for NumPy.
|
||||
|
||||
License: MIT
|
||||
Author: See AUTHORS.txt
|
||||
|
||||
See LICENSE.txt for details about copyright and rights to use.
|
||||
**********************************************************************/
|
||||
|
||||
struct NumExprObject
|
||||
{
|
||||
PyObject_HEAD
|
||||
PyObject *signature; /* a python string */
|
||||
PyObject *tempsig;
|
||||
PyObject *constsig;
|
||||
PyObject *fullsig;
|
||||
PyObject *program; /* a python string */
|
||||
PyObject *constants; /* a tuple of int/float/complex */
|
||||
PyObject *input_names; /* tuple of strings */
|
||||
char **mem; /* pointers to registers */
|
||||
char *rawmem; /* a chunks of raw memory for storing registers */
|
||||
npy_intp *memsteps;
|
||||
npy_intp *memsizes;
|
||||
int rawmemsize;
|
||||
int n_inputs;
|
||||
int n_constants;
|
||||
int n_temps;
|
||||
};
|
||||
|
||||
extern PyTypeObject NumExprType;
|
||||
|
||||
#endif // NUMEXPR_OBJECT_HPP
|
||||
Reference in New Issue
Block a user