comparison Include/Python.h @ 23462:61348aa2ff98 legacy-trunk

Back out #555929
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 15 May 2002 18:24:06 +0000
parents 8a45bfd6b471
children 446b2f2c01d8
comparison
equal deleted inserted replaced
23460:d9bb4ec3e75b 23462:61348aa2ff98
20 20
21 /* Include nearly all Python header files */ 21 /* Include nearly all Python header files */
22 22
23 #include "patchlevel.h" 23 #include "patchlevel.h"
24 #include "pyconfig.h" 24 #include "pyconfig.h"
25 #include "pyport.h"
26 25
27 #ifdef HAVE_LIMITS_H 26 #ifdef HAVE_LIMITS_H
28 #include <limits.h> 27 #include <limits.h>
29 #endif 28 #endif
30 29
31 /* pyconfig.h or pyport.h may or may not define DL_IMPORT */ 30 /* pyconfig.h may or may not define DL_IMPORT */
32 #ifndef DL_IMPORT /* declarations for DLL import/export */ 31 #ifndef DL_IMPORT /* declarations for DLL import/export */
33 #define DL_IMPORT(RTYPE) RTYPE 32 #define DL_IMPORT(RTYPE) RTYPE
34 #endif 33 #endif
35 #ifndef DL_EXPORT /* declarations for DLL import/export */ 34 #ifndef DL_EXPORT /* declarations for DLL import/export */
36 #define DL_EXPORT(RTYPE) RTYPE 35 #define DL_EXPORT(RTYPE) RTYPE
57 /* CAUTION: Build setups should ensure that NDEBUG is defined on the 56 /* CAUTION: Build setups should ensure that NDEBUG is defined on the
58 * compiler command line when building Python in release mode; else 57 * compiler command line when building Python in release mode; else
59 * assert() calls won't be removed. 58 * assert() calls won't be removed.
60 */ 59 */
61 #include <assert.h> 60 #include <assert.h>
61
62 #include "pyport.h"
62 63
63 /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG. 64 /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
64 * PYMALLOC_DEBUG is in error if pymalloc is not in use. 65 * PYMALLOC_DEBUG is in error if pymalloc is not in use.
65 */ 66 */
66 #if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG) 67 #if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG)