/
opt
/
alt
/
python35
/
include
/
python3.5m
/
/opt/alt/python35/include/python3.5m
mkdir
upload
Name
Size
Mode
Actions
abstract.h
43822
0644
edit
dl
rm
accu.h
1016
0644
edit
dl
rm
asdl.h
1184
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
4985
0644
edit
dl
rm
bytes_methods.h
2034
0644
edit
dl
rm
cellobject.h
701
0644
edit
dl
rm
ceval.h
7636
0644
edit
dl
rm
classobject.h
1666
0644
edit
dl
rm
code.h
5262
0644
edit
dl
rm
codecs.h
6693
0644
edit
dl
rm
compile.h
2164
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
datetime.h
8542
0644
edit
dl
rm
descrobject.h
2913
0644
edit
dl
rm
dictobject.h
6335
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
1511
0644
edit
dl
rm
fileutils.h
2877
0644
edit
dl
rm
floatobject.h
4641
0644
edit
dl
rm
frameobject.h
3530
0644
edit
dl
rm
funcobject.h
3771
0644
edit
dl
rm
genobject.h
2669
0644
edit
dl
rm
graminit.h
1944
0644
edit
dl
rm
grammar.h
2044
0644
edit
dl
rm
import.h
3901
0644
edit
dl
rm
intrcheck.h
460
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2900
0644
edit
dl
rm
longintrepr.h
3997
0644
edit
dl
rm
longobject.h
8286
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2695
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3367
0644
edit
dl
rm
modsupport.h
6053
0644
edit
dl
rm
moduleobject.h
2145
0644
edit
dl
rm
namespaceobject.h
297
0644
edit
dl
rm
node.h
1007
0644
edit
dl
rm
object.h
40005
0644
edit
dl
rm
objimpl.h
13975
0644
edit
dl
rm
odictobject.h
1330
0644
edit
dl
rm
opcode.h
4924
0644
edit
dl
rm
osdefs.h
691
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
1144
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pyatomic.h
8134
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
43863
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1320
0644
edit
dl
rm
pydebug.h
1140
0644
edit
dl
rm
pyerrors.h
16332
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyfpe.h
8471
0644
edit
dl
rm
pygetopt.h
388
0644
edit
dl
rm
pyhash.h
4274
0644
edit
dl
rm
pylifecycle.h
3810
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3297
0644
edit
dl
rm
pymath.h
7219
0644
edit
dl
rm
pymem.h
7033
0644
edit
dl
rm
pyport.h
32020
0644
edit
dl
rm
pystate.h
9490
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
443
0644
edit
dl
rm
pystrtod.h
1276
0644
edit
dl
rm
Python-ast.h
20851
0644
edit
dl
rm
Python.h
2906
0644
edit
dl
rm
pythonrun.h
6688
0644
edit
dl
rm
pythread.h
3036
0644
edit
dl
rm
pytime.h
6654
0644
edit
dl
rm
py_curses.h
4175
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3290
0644
edit
dl
rm
sliceobject.h
2485
0644
edit
dl
rm
structmember.h
2068
0644
edit
dl
rm
structseq.h
1353
0644
edit
dl
rm
symtable.h
4861
0644
edit
dl
rm
sysmodule.h
1355
0644
edit
dl
rm
token.h
1943
0644
edit
dl
rm
traceback.h
2213
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
79193
0644
edit
dl
rm
warnings.h
1426
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python35/include/python3.5m/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