Go to the documentation of this file.
16 #define WITH_CYCLE_GC 1
22 #error "Something's broken. UCHAR_MAX should be defined in limits.h."
26 #error "Python's source code assumes C's unsigned char is an 8-bit type."
29 #if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
30 #define _SGI_MP_SOURCE
35 # error "Python.h requires that stdio.h define NULL."
62 #define DL_IMPORT(RTYPE) RTYPE
65 #define DL_EXPORT(RTYPE) RTYPE
71 #if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG)
72 #define PYMALLOC_DEBUG
74 #if defined(PYMALLOC_DEBUG) && !defined(WITH_PYMALLOC)
75 #error "PYMALLOC_DEBUG requires WITH_PYMALLOC"
90 #ifndef WITHOUT_COMPLEX
147 #define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
151 #define PyArg_NoArgs(v) PyArg_Parse(v, "")
154 #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
160 #define Py_single_input 256
161 #define Py_file_input 257
162 #define Py_eval_input 258
170 #define PyDoc_VAR(name) static char name[]
171 #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
172 #ifdef WITH_DOC_STRINGS
173 #define PyDoc_STR(str) str
175 #define PyDoc_STR(str) ""
Copyright 2014 Google Inc. All rights reserved.