File indexing completed on 2025-01-18 10:06:50
0001
0002
0003
0004
0005 #ifndef Py_PYTHON_H
0006 #define Py_PYTHON_H
0007
0008
0009
0010
0011 #include "patchlevel.h"
0012 #include "pyconfig.h"
0013 #include "pymacconfig.h"
0014
0015 #if defined(__sgi) && !defined(_SGI_MP_SOURCE)
0016 # define _SGI_MP_SOURCE
0017 #endif
0018
0019
0020
0021
0022 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
0023 # include <stdlib.h>
0024 # include <stdio.h> // FILE*
0025 # include <errno.h> // errno
0026 # include <string.h> // memcpy()
0027 #endif
0028 #ifndef MS_WINDOWS
0029 # include <unistd.h>
0030 #endif
0031 #ifdef HAVE_STDDEF_H
0032 # include <stddef.h> // size_t
0033 #endif
0034
0035 #include <assert.h> // assert()
0036 #include <wchar.h> // wchar_t
0037
0038 #include "pyport.h"
0039 #include "pymacro.h"
0040 #include "pymath.h"
0041 #include "pymem.h"
0042 #include "pytypedefs.h"
0043 #include "pybuffer.h"
0044 #include "object.h"
0045 #include "objimpl.h"
0046 #include "typeslots.h"
0047 #include "pyhash.h"
0048 #include "cpython/pydebug.h"
0049 #include "bytearrayobject.h"
0050 #include "bytesobject.h"
0051 #include "unicodeobject.h"
0052 #include "cpython/initconfig.h"
0053 #include "pystate.h"
0054 #include "pyerrors.h"
0055 #include "longobject.h"
0056 #include "cpython/longintrepr.h"
0057 #include "boolobject.h"
0058 #include "floatobject.h"
0059 #include "complexobject.h"
0060 #include "rangeobject.h"
0061 #include "memoryobject.h"
0062 #include "tupleobject.h"
0063 #include "listobject.h"
0064 #include "dictobject.h"
0065 #include "cpython/odictobject.h"
0066 #include "enumobject.h"
0067 #include "setobject.h"
0068 #include "methodobject.h"
0069 #include "moduleobject.h"
0070 #include "cpython/funcobject.h"
0071 #include "cpython/classobject.h"
0072 #include "fileobject.h"
0073 #include "pycapsule.h"
0074 #include "cpython/code.h"
0075 #include "pyframe.h"
0076 #include "traceback.h"
0077 #include "sliceobject.h"
0078 #include "cpython/cellobject.h"
0079 #include "iterobject.h"
0080 #include "cpython/genobject.h"
0081 #include "descrobject.h"
0082 #include "genericaliasobject.h"
0083 #include "warnings.h"
0084 #include "weakrefobject.h"
0085 #include "structseq.h"
0086 #include "cpython/picklebufobject.h"
0087 #include "cpython/pytime.h"
0088 #include "codecs.h"
0089 #include "pythread.h"
0090 #include "cpython/context.h"
0091 #include "modsupport.h"
0092 #include "compile.h"
0093 #include "pythonrun.h"
0094 #include "pylifecycle.h"
0095 #include "ceval.h"
0096 #include "sysmodule.h"
0097 #include "osmodule.h"
0098 #include "intrcheck.h"
0099 #include "import.h"
0100 #include "abstract.h"
0101 #include "bltinmodule.h"
0102 #include "cpython/pyctype.h"
0103 #include "pystrtod.h"
0104 #include "pystrcmp.h"
0105 #include "fileutils.h"
0106 #include "cpython/pyfpe.h"
0107 #include "tracemalloc.h"
0108
0109 #endif