X7ROOT File Manager
Current Path:
/usr/include/python3.6m
usr
/
include
/
python3.6m
/
ðŸ“
..
📄
Python-ast.h
(21.75 KB)
📄
Python.h
(3.15 KB)
📄
_hashopenssl.h
(1.33 KB)
📄
abstract.h
(46.34 KB)
📄
accu.h
(1016 B)
📄
asdl.h
(1.18 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
(3.12 KB)
📄
bytesobject.h
(8.17 KB)
📄
cellobject.h
(701 B)
📄
ceval.h
(8.32 KB)
📄
classobject.h
(1.63 KB)
📄
code.h
(5.81 KB)
📄
codecs.h
(6.63 KB)
📄
compile.h
(2.11 KB)
📄
complexobject.h
(1.76 KB)
📄
datetime.h
(9.19 KB)
📄
descrobject.h
(2.89 KB)
📄
dictobject.h
(7.01 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.61 KB)
📄
fileutils.h
(3.44 KB)
📄
floatobject.h
(4.68 KB)
📄
frameobject.h
(3.45 KB)
📄
funcobject.h
(3.98 KB)
📄
genobject.h
(3.5 KB)
📄
graminit.h
(1.92 KB)
📄
grammar.h
(2.03 KB)
📄
import.h
(4.13 KB)
📄
intrcheck.h
(513 B)
📄
iterobject.h
(567 B)
📄
listobject.h
(2.83 KB)
📄
longintrepr.h
(3.67 KB)
📄
longobject.h
(9.6 KB)
📄
marshal.h
(803 B)
📄
memoryobject.h
(2.7 KB)
📄
metagrammar.h
(253 B)
📄
methodobject.h
(3.76 KB)
📄
modsupport.h
(7.15 KB)
📄
moduleobject.h
(2.23 KB)
📄
namespaceobject.h
(349 B)
📄
node.h
(1007 B)
📄
object.h
(41.21 KB)
📄
objimpl.h
(13.91 KB)
📄
odictobject.h
(1.26 KB)
📄
opcode.h
(4.95 KB)
📄
osdefs.h
(691 B)
📄
osmodule.h
(291 B)
📄
parsetok.h
(2.82 KB)
📄
patchlevel.h
(1.1 KB)
📄
pgen.h
(253 B)
📄
pgenheaders.h
(1.15 KB)
📄
py_curses.h
(4.21 KB)
📄
pyarena.h
(2.68 KB)
📄
pyatomic.h
(7.94 KB)
📄
pycapsule.h
(1.69 KB)
📄
pyconfig-64.h
(43.58 KB)
📄
pyconfig.h
(162 B)
📄
pyctype.h
(1.29 KB)
📄
pydebug.h
(1.23 KB)
📄
pydtrace.h
(1.92 KB)
📄
pyerrors.h
(16.82 KB)
📄
pyexpat.h
(2.39 KB)
📄
pyfpe.h
(8.27 KB)
📄
pygetopt.h
(410 B)
📄
pyhash.h
(4.04 KB)
📄
pylifecycle.h
(3.98 KB)
📄
pymacconfig.h
(2.92 KB)
📄
pymacro.h
(3.42 KB)
📄
pymath.h
(8.12 KB)
📄
pymem.h
(8.36 KB)
📄
pyport.h
(26.93 KB)
📄
pystate.h
(10.88 KB)
📄
pystrcmp.h
(436 B)
📄
pystrhex.h
(495 B)
📄
pystrtod.h
(1.45 KB)
📄
pythonrun.h
(6.62 KB)
📄
pythread.h
(2.92 KB)
📄
pytime.h
(7.43 KB)
📄
rangeobject.h
(629 B)
📄
setobject.h
(3.25 KB)
📄
sliceobject.h
(2.43 KB)
📄
structmember.h
(1.97 KB)
📄
structseq.h
(1.32 KB)
📄
symtable.h
(4.88 KB)
📄
sysmodule.h
(1.32 KB)
📄
token.h
(1.9 KB)
📄
traceback.h
(3.56 KB)
📄
tupleobject.h
(2.39 KB)
📄
typeslots.h
(2.2 KB)
📄
ucnhash.h
(1.03 KB)
📄
unicodeobject.h
(79.86 KB)
📄
warnings.h
(1.65 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