X7ROOT File Manager
Current Path:
/opt/alt/python35/include/python3.5m
opt
/
alt
/
python35
/
include
/
python3.5m
/
ðŸ“
..
📄
Python-ast.h
(20.36 KB)
📄
Python.h
(2.84 KB)
📄
abstract.h
(42.79 KB)
📄
accu.h
(1016 B)
📄
asdl.h
(1.16 KB)
📄
ast.h
(477 B)
📄
bitset.h
(792 B)
📄
bltinmodule.h
(264 B)
📄
boolobject.h
(886 B)
📄
bytearrayobject.h
(2.06 KB)
📄
bytes_methods.h
(1.99 KB)
📄
bytesobject.h
(4.87 KB)
📄
cellobject.h
(701 B)
📄
ceval.h
(7.46 KB)
📄
classobject.h
(1.63 KB)
📄
code.h
(5.14 KB)
📄
codecs.h
(6.54 KB)
📄
compile.h
(2.11 KB)
📄
complexobject.h
(1.76 KB)
📄
datetime.h
(8.34 KB)
📄
descrobject.h
(2.84 KB)
📄
dictobject.h
(6.19 KB)
📄
dtoa.h
(458 B)
📄
dynamic_annotations.h
(21.94 KB)
📄
enumobject.h
(253 B)
📄
errcode.h
(1.46 KB)
📄
eval.h
(597 B)
📄
fileobject.h
(1.48 KB)
📄
fileutils.h
(2.81 KB)
📄
floatobject.h
(4.53 KB)
📄
frameobject.h
(3.45 KB)
📄
funcobject.h
(3.68 KB)
📄
genobject.h
(2.61 KB)
📄
graminit.h
(1.9 KB)
📄
grammar.h
(2 KB)
📄
import.h
(3.81 KB)
📄
intrcheck.h
(460 B)
📄
iterobject.h
(567 B)
📄
listobject.h
(2.83 KB)
📄
longintrepr.h
(3.9 KB)
📄
longobject.h
(8.09 KB)
📄
marshal.h
(803 B)
📄
memoryobject.h
(2.63 KB)
📄
metagrammar.h
(253 B)
📄
methodobject.h
(3.29 KB)
📄
modsupport.h
(5.91 KB)
📄
moduleobject.h
(2.09 KB)
📄
namespaceobject.h
(297 B)
📄
node.h
(1007 B)
📄
object.h
(39.07 KB)
📄
objimpl.h
(13.65 KB)
📄
odictobject.h
(1.3 KB)
📄
opcode.h
(4.81 KB)
📄
osdefs.h
(691 B)
📄
parsetok.h
(2.82 KB)
📄
patchlevel.h
(1.1 KB)
📄
pgen.h
(253 B)
📄
pgenheaders.h
(1.12 KB)
📄
py_curses.h
(4.08 KB)
📄
pyarena.h
(2.68 KB)
📄
pyatomic.h
(7.94 KB)
📄
pycapsule.h
(1.69 KB)
📄
pyconfig-64.h
(42.8 KB)
📄
pyconfig.h
(162 B)
📄
pyctype.h
(1.29 KB)
📄
pydebug.h
(1.11 KB)
📄
pyerrors.h
(15.95 KB)
📄
pyexpat.h
(2.39 KB)
📄
pyfpe.h
(8.27 KB)
📄
pygetopt.h
(388 B)
📄
pyhash.h
(4.17 KB)
📄
pylifecycle.h
(3.72 KB)
📄
pymacconfig.h
(2.92 KB)
📄
pymacro.h
(3.22 KB)
📄
pymath.h
(7.05 KB)
📄
pymem.h
(6.87 KB)
📄
pyport.h
(31.27 KB)
📄
pystate.h
(9.27 KB)
📄
pystrcmp.h
(436 B)
📄
pystrhex.h
(443 B)
📄
pystrtod.h
(1.25 KB)
📄
pythonrun.h
(6.53 KB)
📄
pythread.h
(2.96 KB)
📄
pytime.h
(6.5 KB)
📄
rangeobject.h
(629 B)
📄
setobject.h
(3.21 KB)
📄
sliceobject.h
(2.43 KB)
📄
structmember.h
(2.02 KB)
📄
structseq.h
(1.32 KB)
📄
symtable.h
(4.75 KB)
📄
sysmodule.h
(1.32 KB)
📄
token.h
(1.9 KB)
📄
traceback.h
(2.16 KB)
📄
tupleobject.h
(2.39 KB)
📄
typeslots.h
(2.2 KB)
📄
ucnhash.h
(1.03 KB)
📄
unicodeobject.h
(77.34 KB)
📄
warnings.h
(1.39 KB)
📄
weakrefobject.h
(2.8 KB)
Editing: pyarena.h
/* 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 */
Upload File
Create Folder