/opt/alt/python27/include/python2.7
NameSizeModeActions
abstract.h452250644editdlrm
asdl.h10990644editdlrm
ast.h2300644editdlrm
bitset.h7920644editdlrm
boolobject.h9120644editdlrm
bufferobject.h9220644editdlrm
bytearrayobject.h19410644editdlrm
bytesobject.h11520644editdlrm
bytes_methods.h28040644editdlrm
cellobject.h6510644editdlrm
ceval.h50610644editdlrm
classobject.h30020644editdlrm
cobject.h29300644editdlrm
code.h44070644editdlrm
codecs.h61710644editdlrm
compile.h10650644editdlrm
complexobject.h18530644editdlrm
cStringIO.h20050644editdlrm
datetime.h83130644editdlrm
descrobject.h24800644editdlrm
dictobject.h68920644editdlrm
dtoa.h3380644editdlrm
enumobject.h2530644editdlrm
errcode.h13990644editdlrm
eval.h5570644editdlrm
fileobject.h36620644editdlrm
floatobject.h56250644editdlrm
frameobject.h32540644editdlrm
funcobject.h29950644editdlrm
genobject.h8910644editdlrm
graminit.h19170644editdlrm
grammar.h20510644editdlrm
import.h22230644editdlrm
intobject.h29760644editdlrm
intrcheck.h2740644editdlrm
iterobject.h5220644editdlrm
listobject.h25690644editdlrm
longintrepr.h39070644editdlrm
longobject.h58090644editdlrm
marshal.h7130644editdlrm
memoryobject.h28230644editdlrm
metagrammar.h2530644editdlrm
methodobject.h33550644editdlrm
modsupport.h50240644editdlrm
moduleobject.h6090644editdlrm
node.h9380644editdlrm
object.h400590644editdlrm
objimpl.h143380644editdlrm
opcode.h48140644editdlrm
osdefs.h10590644editdlrm
parsetok.h17800644editdlrm
patchlevel.h14500644editdlrm
pgen.h2530644editdlrm
pgenheaders.h11800644editdlrm
pyarena.h26930644editdlrm
pycapsule.h16790644editdlrm
pyconfig-64.h378410644editdlrm
pyconfig.h1620644editdlrm
pyctype.h12680644editdlrm
pydebug.h13220644editdlrm
pyerrors.h117410644editdlrm
pyexpat.h21170644editdlrm
pyfpe.h84710644editdlrm
pygetopt.h3480644editdlrm
pymacconfig.h29890644editdlrm
pymactoolbox.h86280644editdlrm
pymath.h73320644editdlrm
pymem.h47120644editdlrm
pyport.h325580644editdlrm
pystate.h64030644editdlrm
pystrcmp.h4630644editdlrm
pystrtod.h15820644editdlrm
Python-ast.h211130644editdlrm
Python.h43750644editdlrm
pythonrun.h72340644editdlrm
pythread.h11550644editdlrm
py_curses.h42730644editdlrm
rangeobject.h6460644editdlrm
setobject.h30770644editdlrm
sliceobject.h16810644editdlrm
stringobject.h79790644editdlrm
structmember.h29010644editdlrm
structseq.h8620644editdlrm
symtable.h37240644editdlrm
sysmodule.h8650644editdlrm
timefuncs.h5410644editdlrm
token.h17990644editdlrm
traceback.h6970644editdlrm
tupleobject.h21750644editdlrm
ucnhash.h9240644editdlrm
unicodeobject.h522270644editdlrm
warnings.h6350644editdlrm
weakrefobject.h28010644editdlrm
Edit: /opt/alt/python27/include/python2.7/tupleobject.h (2175B)
/* Tuple object interface */ #ifndef Py_TUPLEOBJECT_H #define Py_TUPLEOBJECT_H #ifdef __cplusplus extern "C" { #endif /* Another generally useful object type is a tuple of object pointers. For Python, this is an immutable type. C code can change the tuple items (but not their number), and even use tuples are general-purpose arrays of object references, but in general only brand new tuples should be mutated, not ones that might already have been exposed to Python code. *** WARNING *** PyTuple_SetItem does not increment the new item's reference count, but does decrement the reference count of the item it replaces, if not nil. It does *decrement* the reference count if it is *not* inserted in the tuple. Similarly, PyTuple_GetItem does not increment the returned item's reference count. */ typedef struct { PyObject_VAR_HEAD PyObject *ob_item[1]; /* ob_item contains space for 'ob_size' elements. * Items must normally not be NULL, except during construction when * the tuple is not yet visible outside the function that builds it. */ } PyTupleObject; PyAPI_DATA(PyTypeObject) PyTuple_Type; #define PyTuple_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS) #define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type) PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size); PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *); PyAPI_FUNC(PyObject *) PyTuple_GetItem(PyObject *, Py_ssize_t); PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *); PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t); PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); PyAPI_FUNC(PyObject *) PyTuple_Pack(Py_ssize_t, ...); PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); /* Macro, trading safety for speed */ #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) #define PyTuple_GET_SIZE(op) Py_SIZE(op) /* Macro, *only* to be used to fill in brand new tuples */ #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v) PyAPI_FUNC(int) PyTuple_ClearFreeList(void); #ifdef __cplusplus } #endif #endif /* !Py_TUPLEOBJECT_H */