diff options
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Include/Python.h b/Include/Python.h index 0d8a5f5..db33a76 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -49,6 +49,8 @@ #include "pyport.h" +#include "pyatomic.h" + /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG. * PYMALLOC_DEBUG is in error if pymalloc is not in use. */ @@ -59,10 +61,12 @@ #error "PYMALLOC_DEBUG requires WITH_PYMALLOC" #endif #include "pymath.h" +#include "pytime.h" #include "pymem.h" #include "object.h" #include "objimpl.h" +#include "typeslots.h" #include "pydebug.h" @@ -73,9 +77,7 @@ #include "longintrepr.h" #include "boolobject.h" #include "floatobject.h" -#ifndef WITHOUT_COMPLEX #include "complexobject.h" -#endif #include "rangeobject.h" #include "memoryobject.h" #include "tupleobject.h" @@ -88,7 +90,6 @@ #include "funcobject.h" #include "classobject.h" #include "fileobject.h" -#include "cobject.h" #include "pycapsule.h" #include "traceback.h" #include "sliceobject.h" @@ -98,6 +99,8 @@ #include "descrobject.h" #include "warnings.h" #include "weakrefobject.h" +#include "structseq.h" + #include "codecs.h" #include "pyerrors.h" @@ -122,9 +125,20 @@ #include "pystrtod.h" #include "pystrcmp.h" #include "dtoa.h" +#include "fileutils.h" + +#ifdef __cplusplus +extern "C" { +#endif /* _Py_Mangle is defined in compile.c */ +#ifndef Py_LIMITED_API PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name); +#endif + +#ifdef __cplusplus +} +#endif /* Argument must be a char or an int in [-128, 127] or [0, 255]. */ #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff)) |