Skip to content

Commit

Permalink
BLD: Increase C API version. Necessary because new C API functions we…
Browse files Browse the repository at this point in the history
…re added.

This removes the MismatchCAPIWarning at the beginning of the build.
  • Loading branch information
rgommers committed Mar 10, 2011
1 parent b94585c commit 3882d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions numpy/core/code_generators/cversions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
# version 4 added neighborhood iterators and PyArray_Correlate2
0x00000004 = 3d8940bf7b0d2a4e25be4338c14c3c85
0x00000005 = 77e2e846db87f25d7cf99f9d812076f0
# Version 6 added new iterator, half float and casting functions,
# PyArray_CountNonzero, PyArray_NewLikeArray and PyArray_MatrixProduct2.
0x00000006 = 941534d1afbc085b996141e8027d1d1e
2 changes: 1 addition & 1 deletion numpy/core/setup_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# without breaking binary compatibility. In this case, only the C_API_VERSION
# (*not* C_ABI_VERSION) would be increased. Whenever binary compatibility is
# broken, both C_API_VERSION and C_ABI_VERSION should be increased.
C_API_VERSION = 0x00000005
C_API_VERSION = 0x00000006

class MismatchCAPIWarning(Warning):
pass
Expand Down

0 comments on commit 3882d65

Please sign in to comment.