/
usr
/
include
/
python3.6m
/
/usr/include/python3.6m
mkdir
upload
Name
Size
Mode
Actions
abstract.h
47451
0644
edit
dl
rm
accu.h
1016
0644
edit
dl
rm
asdl.h
1213
0644
edit
dl
rm
ast.h
477
0644
edit
dl
rm
bitset.h
792
0644
edit
dl
rm
bltinmodule.h
264
0644
edit
dl
rm
boolobject.h
886
0644
edit
dl
rm
bytearrayobject.h
2114
0644
edit
dl
rm
bytesobject.h
8363
0644
edit
dl
rm
bytes_methods.h
3191
0644
edit
dl
rm
cellobject.h
701
0644
edit
dl
rm
ceval.h
8524
0644
edit
dl
rm
classobject.h
1666
0644
edit
dl
rm
code.h
5945
0644
edit
dl
rm
codecs.h
6793
0644
edit
dl
rm
compile.h
2164
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
datetime.h
9414
0644
edit
dl
rm
descrobject.h
2964
0644
edit
dl
rm
dictobject.h
7178
0644
edit
dl
rm
dtoa.h
458
0644
edit
dl
rm
dynamic_annotations.h
22469
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1497
0644
edit
dl
rm
eval.h
597
0644
edit
dl
rm
fileobject.h
1651
0644
edit
dl
rm
fileutils.h
3524
0644
edit
dl
rm
floatobject.h
4794
0644
edit
dl
rm
frameobject.h
3530
0644
edit
dl
rm
funcobject.h
4079
0644
edit
dl
rm
genobject.h
3583
0644
edit
dl
rm
graminit.h
1966
0644
edit
dl
rm
grammar.h
2074
0644
edit
dl
rm
import.h
4233
0644
edit
dl
rm
intrcheck.h
513
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2900
0644
edit
dl
rm
longintrepr.h
3761
0644
edit
dl
rm
longobject.h
9830
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2765
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3847
0644
edit
dl
rm
modsupport.h
7317
0644
edit
dl
rm
moduleobject.h
2285
0644
edit
dl
rm
namespaceobject.h
349
0644
edit
dl
rm
node.h
1007
0644
edit
dl
rm
object.h
42203
0644
edit
dl
rm
objimpl.h
14244
0644
edit
dl
rm
odictobject.h
1288
0644
edit
dl
rm
opcode.h
5073
0644
edit
dl
rm
osdefs.h
691
0644
edit
dl
rm
osmodule.h
291
0644
edit
dl
rm
parsetok.h
2885
0644
edit
dl
rm
patchlevel.h
1128
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1180
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pyatomic.h
8128
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
44622
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1320
0644
edit
dl
rm
pydebug.h
1264
0644
edit
dl
rm
pydtrace.h
1970
0644
edit
dl
rm
pyerrors.h
17219
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyfpe.h
8471
0644
edit
dl
rm
pygetopt.h
410
0644
edit
dl
rm
pyhash.h
4139
0644
edit
dl
rm
pylifecycle.h
4078
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3500
0644
edit
dl
rm
pymath.h
8312
0644
edit
dl
rm
pymem.h
8557
0644
edit
dl
rm
pyport.h
27573
0644
edit
dl
rm
pystate.h
11146
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
495
0644
edit
dl
rm
pystrtod.h
1483
0644
edit
dl
rm
Python-ast.h
22274
0644
edit
dl
rm
Python.h
3221
0644
edit
dl
rm
pythonrun.h
6782
0644
edit
dl
rm
pythread.h
2992
0644
edit
dl
rm
pytime.h
7609
0644
edit
dl
rm
py_curses.h
4307
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3333
0644
edit
dl
rm
sliceobject.h
2485
0644
edit
dl
rm
structmember.h
2018
0644
edit
dl
rm
structseq.h
1353
0644
edit
dl
rm
symtable.h
4994
0644
edit
dl
rm
sysmodule.h
1355
0644
edit
dl
rm
token.h
1943
0644
edit
dl
rm
traceback.h
3644
0644
edit
dl
rm
tupleobject.h
2444
0644
edit
dl
rm
typeslots.h
2253
0644
edit
dl
rm
ucnhash.h
1056
0644
edit
dl
rm
unicodeobject.h
81779
0644
edit
dl
rm
warnings.h
1693
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
_hashopenssl.h
1365
0644
edit
dl
rm
Edit:
/usr/include/python3.6m/pyarena.h
(2744B)
/* An arena-like memory interface for the compiler. */ #ifndef Py_LIMITED_API #ifndef Py_PYARENA_H #define Py_PYARENA_H #ifdef __cplusplus extern "C" { #endif typedef struct _arena PyArena; /* PyArena_New() and PyArena_Free() create a new arena and free it, respectively. Once an arena has been created, it can be used to allocate memory via PyArena_Malloc(). Pointers to PyObject can also be registered with the arena via PyArena_AddPyObject(), and the arena will ensure that the PyObjects stay alive at least until PyArena_Free() is called. When an arena is freed, all the memory it allocated is freed, the arena releases internal references to registered PyObject*, and none of its pointers are valid. XXX (tim) What does "none of its pointers are valid" mean? Does it XXX mean that pointers previously obtained via PyArena_Malloc() are XXX no longer valid? (That's clearly true, but not sure that's what XXX the text is trying to say.) PyArena_New() returns an arena pointer. On error, it returns a negative number and sets an exception. XXX (tim): Not true. On error, PyArena_New() actually returns NULL, XXX and looks like it may or may not set an exception (e.g., if the XXX internal PyList_New(0) returns NULL, PyArena_New() passes that on XXX and an exception is set; OTOH, if the internal XXX block_new(DEFAULT_BLOCK_SIZE) returns NULL, that's passed on but XXX an exception is not set in that case). */ PyAPI_FUNC(PyArena *) PyArena_New(void); PyAPI_FUNC(void) PyArena_Free(PyArena *); /* Mostly like malloc(), return the address of a block of memory spanning * `size` bytes, or return NULL (without setting an exception) if enough * new memory can't be obtained. Unlike malloc(0), PyArena_Malloc() with * size=0 does not guarantee to return a unique pointer (the pointer * returned may equal one or more other pointers obtained from * PyArena_Malloc()). * Note that pointers obtained via PyArena_Malloc() must never be passed to * the system free() or realloc(), or to any of Python's similar memory- * management functions. PyArena_Malloc()-obtained pointers remain valid * until PyArena_Free(ar) is called, at which point all pointers obtained * from the arena `ar` become invalid simultaneously. */ PyAPI_FUNC(void *) PyArena_Malloc(PyArena *, size_t size); /* This routine isn't a proper arena allocation routine. It takes * a PyObject* and records it so that it can be DECREFed when the * arena is freed. */ PyAPI_FUNC(int) PyArena_AddPyObject(PyArena *, PyObject *); #ifdef __cplusplus } #endif #endif /* !Py_PYARENA_H */ #endif /* Py_LIMITED_API */
Save
cmd:
run