/
usr
/
include
/
python3.10
/
/usr/include/python3.10
mkdir
upload
Name
Size
Mode
Actions
cpython/
-
0755
rm
internal/
-
0755
rm
abstract.h
31405
0644
edit
dl
rm
bltinmodule.h
264
0644
edit
dl
rm
boolobject.h
1224
0644
edit
dl
rm
bytearrayobject.h
1484
0644
edit
dl
rm
bytesobject.h
2593
0644
edit
dl
rm
cellobject.h
720
0644
edit
dl
rm
ceval.h
5703
0644
edit
dl
rm
classobject.h
1657
0644
edit
dl
rm
code.h
318
0644
edit
dl
rm
codecs.h
7071
0644
edit
dl
rm
compile.h
520
0644
edit
dl
rm
complexobject.h
1806
0644
edit
dl
rm
context.h
1962
0644
edit
dl
rm
datetime.h
9635
0644
edit
dl
rm
descrobject.h
3002
0644
edit
dl
rm
dictobject.h
3853
0644
edit
dl
rm
dynamic_annotations.h
22471
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1700
0644
edit
dl
rm
eval.h
831
0644
edit
dl
rm
exports.h
1098
0644
edit
dl
rm
fileobject.h
1571
0644
edit
dl
rm
fileutils.h
508
0644
edit
dl
rm
floatobject.h
4360
0644
edit
dl
rm
frameobject.h
337
0644
edit
dl
rm
funcobject.h
4257
0644
edit
dl
rm
genericaliasobject.h
334
0644
edit
dl
rm
genobject.h
3347
0644
edit
dl
rm
graminit.h
0
0644
edit
dl
rm
import.h
3026
0644
edit
dl
rm
interpreteridobject.h
334
0644
edit
dl
rm
intrcheck.h
772
0644
edit
dl
rm
iterobject.h
593
0644
edit
dl
rm
listobject.h
1781
0644
edit
dl
rm
longintrepr.h
3799
0644
edit
dl
rm
longobject.h
8606
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2764
0644
edit
dl
rm
methodobject.h
4147
0644
edit
dl
rm
modsupport.h
10333
0644
edit
dl
rm
moduleobject.h
2458
0644
edit
dl
rm
namespaceobject.h
349
0644
edit
dl
rm
object.h
28344
0644
edit
dl
rm
objimpl.h
8445
0644
edit
dl
rm
opcode.h
5509
0644
edit
dl
rm
osdefs.h
737
0644
edit
dl
rm
osmodule.h
291
0644
edit
dl
rm
patchlevel.h
1301
0644
edit
dl
rm
pycapsule.h
1725
0644
edit
dl
rm
pyconfig.h
4159
0644
edit
dl
rm
pydtrace.h
2413
0644
edit
dl
rm
pyerrors.h
12426
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyframe.h
466
0644
edit
dl
rm
pyhash.h
4223
0644
edit
dl
rm
pylifecycle.h
2080
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
4920
0644
edit
dl
rm
pymath.h
8313
0644
edit
dl
rm
pymem.h
3891
0644
edit
dl
rm
pyport.h
31684
0644
edit
dl
rm
pystate.h
5250
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
849
0644
edit
dl
rm
pystrtod.h
1483
0644
edit
dl
rm
Python.h
3224
0644
edit
dl
rm
pythonrun.h
1110
0644
edit
dl
rm
pythread.h
5989
0644
edit
dl
rm
py_curses.h
2474
0644
edit
dl
rm
rangeobject.h
628
0644
edit
dl
rm
setobject.h
3381
0644
edit
dl
rm
sliceobject.h
2516
0644
edit
dl
rm
structmember.h
2074
0644
edit
dl
rm
structseq.h
1390
0644
edit
dl
rm
sysmodule.h
1242
0644
edit
dl
rm
token.h
2669
0644
edit
dl
rm
traceback.h
584
0644
edit
dl
rm
tracemalloc.h
1114
0644
edit
dl
rm
tupleobject.h
1614
0644
edit
dl
rm
typeslots.h
2460
0644
edit
dl
rm
unicodeobject.h
36148
0644
edit
dl
rm
warnings.h
1776
0644
edit
dl
rm
weakrefobject.h
2863
0644
edit
dl
rm
Edit:
/usr/include/python3.10/structmember.h
(2074B)
#ifndef Py_STRUCTMEMBER_H #define Py_STRUCTMEMBER_H #ifdef __cplusplus extern "C" { #endif /* Interface to map C struct members to Python object attributes */ #include <stddef.h> /* For offsetof */ /* An array of PyMemberDef structures defines the name, type and offset of selected members of a C structure. These can be read by PyMember_GetOne() and set by PyMember_SetOne() (except if their READONLY flag is set). The array must be terminated with an entry whose name pointer is NULL. */ typedef struct PyMemberDef { const char *name; int type; Py_ssize_t offset; int flags; const char *doc; } PyMemberDef; /* Types */ #define T_SHORT 0 #define T_INT 1 #define T_LONG 2 #define T_FLOAT 3 #define T_DOUBLE 4 #define T_STRING 5 #define T_OBJECT 6 /* XXX the ordering here is weird for binary compatibility */ #define T_CHAR 7 /* 1-character string */ #define T_BYTE 8 /* 8-bit signed int */ /* unsigned variants: */ #define T_UBYTE 9 #define T_USHORT 10 #define T_UINT 11 #define T_ULONG 12 /* Added by Jack: strings contained in the structure */ #define T_STRING_INPLACE 13 /* Added by Lillo: bools contained in the structure (assumed char) */ #define T_BOOL 14 #define T_OBJECT_EX 16 /* Like T_OBJECT, but raises AttributeError when the value is NULL, instead of converting to None. */ #define T_LONGLONG 17 #define T_ULONGLONG 18 #define T_PYSSIZET 19 /* Py_ssize_t */ #define T_NONE 20 /* Value is always None */ /* Flags */ #define READONLY 1 #define READ_RESTRICTED 2 #define PY_WRITE_RESTRICTED 4 #define RESTRICTED (READ_RESTRICTED | PY_WRITE_RESTRICTED) #define PY_AUDIT_READ READ_RESTRICTED /* Current API, use this */ PyAPI_FUNC(PyObject *) PyMember_GetOne(const char *, struct PyMemberDef *); PyAPI_FUNC(int) PyMember_SetOne(char *, struct PyMemberDef *, PyObject *); #ifdef __cplusplus } #endif #endif /* !Py_STRUCTMEMBER_H */
Save
cmd:
run