diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-04 16:46:56 +0200 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-04 17:17:17 +0200 |
commit | 3a811358830c324b7b6819b88dec4e4bcd91444a (patch) | |
tree | 62a3387e47d173ee888b0017bec527d5307ea467 /numpy/lib/recfunctions.py | |
parent | 6309cf291ca806f554723d659777acca46cdad1f (diff) | |
download | numpy-3a811358830c324b7b6819b88dec4e4bcd91444a.tar.gz |
ENH: Allow compiling compatibly to old NumPy versions
The default compiles compatibly with 1.17.x, we allow going back to
1.15 (mainly because it is easy).
There were few additions in this time, a few structs grew and very
few API functions were added. Added a way to mark API functions
as requiring a specific target version.
If a user wishes to use the *new* API, they have to add the definition:
#define NPY_TARGET_VERSION NPY_1_22_API_VERSION
Before importing NumPy. (Our version numbering is a bit funny
I first thought to use a hex version of the main NumPy version,
but since we already have the `NPY_1_22_API_VERSION` defines...)
Diffstat (limited to 'numpy/lib/recfunctions.py')
0 files changed, 0 insertions, 0 deletions