FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Include/Python.h at main · https-github-com-nzysoft/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
https-github-com-nzysoft
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Include
/
Python.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
117 lines (107 loc) · 3.11 KB
Breadcrumbs
cpython
/
Include
/
Python.h
Copy path
File metadata and controls
117 lines (107 loc) · 3.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// Entry point of the Python C API.
// C extensions should only #include <Python.h>, and not include directly
// the other Python header files included by <Python.h>.
#ifndef
Py_PYTHON_H
#define
Py_PYTHON_H
// Since this is a "meta-include" file, "#ifdef __cplusplus / extern "C" {"
// is not needed.
// Include Python header files
#include
"patchlevel.h"
#include
"pyconfig.h"
#include
"pymacconfig.h"
// Include standard header files
#include
<assert.h>
// assert()
#include
<inttypes.h>
// uintptr_t
#include
<limits.h>
// INT_MAX
#include
<math.h>
// HUGE_VAL
#include
<stdarg.h>
// va_list
#include
<wchar.h>
// wchar_t
#ifdef
HAVE_STDDEF_H
# include
<stddef.h>
// size_t
#endif
#ifdef
HAVE_SYS_TYPES_H
# include
<sys/types.h>
// ssize_t
#endif
// errno.h, stdio.h, stdlib.h and string.h headers are no longer used by
// Python, but kept for backward compatibility (avoid compiler warnings).
// They are no longer included by limited C API version 3.11 and newer.
#if
!defined(
Py_LIMITED_API
)
||
Py_LIMITED_API
+
0
<
0x030b0000
# include
<errno.h>
// errno
# include
<stdio.h>
// FILE*
# include
<stdlib.h>
// getenv()
# include
<string.h>
// memcpy()
#endif
// Include Python header files
#include
"pyport.h"
#include
"pymacro.h"
#include
"pymath.h"
#include
"pymem.h"
#include
"pytypedefs.h"
#include
"pybuffer.h"
#include
"pystats.h"
#include
"pyatomic.h"
#include
"object.h"
#include
"objimpl.h"
#include
"typeslots.h"
#include
"pyhash.h"
#include
"cpython/pydebug.h"
#include
"bytearrayobject.h"
#include
"bytesobject.h"
#include
"unicodeobject.h"
#include
"longobject.h"
#include
"cpython/longintrepr.h"
#include
"boolobject.h"
#include
"floatobject.h"
#include
"complexobject.h"
#include
"rangeobject.h"
#include
"memoryobject.h"
#include
"tupleobject.h"
#include
"listobject.h"
#include
"dictobject.h"
#include
"cpython/odictobject.h"
#include
"enumobject.h"
#include
"setobject.h"
#include
"methodobject.h"
#include
"moduleobject.h"
#include
"cpython/funcobject.h"
#include
"cpython/classobject.h"
#include
"fileobject.h"
#include
"pycapsule.h"
#include
"cpython/code.h"
#include
"pyframe.h"
#include
"traceback.h"
#include
"sliceobject.h"
#include
"cpython/cellobject.h"
#include
"iterobject.h"
#include
"cpython/initconfig.h"
#include
"pystate.h"
#include
"cpython/genobject.h"
#include
"descrobject.h"
#include
"genericaliasobject.h"
#include
"warnings.h"
#include
"weakrefobject.h"
#include
"structseq.h"
#include
"cpython/picklebufobject.h"
#include
"codecs.h"
#include
"pyerrors.h"
#include
"pythread.h"
#include
"cpython/context.h"
#include
"modsupport.h"
#include
"compile.h"
#include
"pythonrun.h"
#include
"pylifecycle.h"
#include
"ceval.h"
#include
"sysmodule.h"
#include
"osmodule.h"
#include
"intrcheck.h"
#include
"import.h"
#include
"abstract.h"
#include
"bltinmodule.h"
#include
"cpython/pyctype.h"
#include
"pystrtod.h"
#include
"pystrcmp.h"
#include
"fileutils.h"
#include
"cpython/pyfpe.h"
#include
"cpython/tracemalloc.h"
#include
"cpython/optimizer.h"
#endif
/* !Py_PYTHON_H */
Back
|
FazBrowse Home
|
New Git URL