Skip to content

Commit

Permalink
REL: Updates for C-ABI and C-API.
Browse files Browse the repository at this point in the history
No changes in the interfaces but some housekeeping is needed.

- Add comments to cversions.txt and setup_common.py
- Add NPY_1_12_API_VERSION to numpyconfig.h

[ci skip]
  • Loading branch information
charris committed Nov 5, 2016
1 parent 2272c32 commit 28e3905
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions numpy/core/code_generators/cversions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@

# Version 10 (NumPy 1.10) Added PyArray_CheckAnyScalarExact
# Version 10 (NumPy 1.11) No change.
# Version 10 (NumPy 1.12) No change.
0x0000000a = 9b8bce614655d3eb02acddcb508203cb
1 change: 1 addition & 0 deletions numpy/core/include/numpy/numpyconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
#define NPY_1_9_API_VERSION 0x00000008
#define NPY_1_10_API_VERSION 0x00000008
#define NPY_1_11_API_VERSION 0x00000008
#define NPY_1_12_API_VERSION 0x00000008

#endif
1 change: 1 addition & 0 deletions numpy/core/setup_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# 0x00000009 - 1.9.x
# 0x0000000a - 1.10.x
# 0x0000000a - 1.11.x
# 0x0000000a - 1.12.x
C_API_VERSION = 0x0000000a

class MismatchCAPIWarning(Warning):
Expand Down

0 comments on commit 28e3905

Please sign in to comment.