numpy  2.0.0
include/numpy/numpyconfig.h
Go to the documentation of this file.
00001 #ifndef _NPY_NUMPYCONFIG_H_
00002 #define _NPY_NUMPYCONFIG_H_
00003 
00004 #include "_numpyconfig.h"
00005 
00006 /*
00007  * On Mac OS X, because there is only one configuration stage for all the archs
00008  * in universal builds, any macro which depends on the arch needs to be
00009  * hardcoded
00010  */
00011 #ifdef __APPLE__
00012     #undef NPY_SIZEOF_LONG
00013     #undef NPY_SIZEOF_PY_INTPTR_T
00014 
00015     #ifdef __LP64__
00016         #define NPY_SIZEOF_LONG         8
00017         #define NPY_SIZEOF_PY_INTPTR_T  8
00018     #else
00019         #define NPY_SIZEOF_LONG         4
00020         #define NPY_SIZEOF_PY_INTPTR_T  4
00021     #endif
00022 #endif
00023 
00031 #define NPY_1_7_API_VERSION 0x00000007
00032 #define NPY_1_8_API_VERSION 0x00000008
00033 #define NPY_1_9_API_VERSION 0x00000008
00034 #define NPY_1_10_API_VERSION 0x00000008
00035 #define NPY_1_11_API_VERSION 0x00000008
00036 #define NPY_1_12_API_VERSION 0x00000008
00037 
00038 #endif