Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python2....
File: tupleobject.h
[0] Fix | Delete
/* Tuple object interface */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_TUPLEOBJECT_H
[3] Fix | Delete
#define Py_TUPLEOBJECT_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
/*
[9] Fix | Delete
Another generally useful object type is a tuple of object pointers.
[10] Fix | Delete
For Python, this is an immutable type. C code can change the tuple items
[11] Fix | Delete
(but not their number), and even use tuples are general-purpose arrays of
[12] Fix | Delete
object references, but in general only brand new tuples should be mutated,
[13] Fix | Delete
not ones that might already have been exposed to Python code.
[14] Fix | Delete
[15] Fix | Delete
*** WARNING *** PyTuple_SetItem does not increment the new item's reference
[16] Fix | Delete
count, but does decrement the reference count of the item it replaces,
[17] Fix | Delete
if not nil. It does *decrement* the reference count if it is *not*
[18] Fix | Delete
inserted in the tuple. Similarly, PyTuple_GetItem does not increment the
[19] Fix | Delete
returned item's reference count.
[20] Fix | Delete
*/
[21] Fix | Delete
[22] Fix | Delete
typedef struct {
[23] Fix | Delete
PyObject_VAR_HEAD
[24] Fix | Delete
PyObject *ob_item[1];
[25] Fix | Delete
[26] Fix | Delete
/* ob_item contains space for 'ob_size' elements.
[27] Fix | Delete
* Items must normally not be NULL, except during construction when
[28] Fix | Delete
* the tuple is not yet visible outside the function that builds it.
[29] Fix | Delete
*/
[30] Fix | Delete
} PyTupleObject;
[31] Fix | Delete
[32] Fix | Delete
PyAPI_DATA(PyTypeObject) PyTuple_Type;
[33] Fix | Delete
[34] Fix | Delete
#define PyTuple_Check(op) \
[35] Fix | Delete
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
[36] Fix | Delete
#define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type)
[37] Fix | Delete
[38] Fix | Delete
PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
[39] Fix | Delete
PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *);
[40] Fix | Delete
PyAPI_FUNC(PyObject *) PyTuple_GetItem(PyObject *, Py_ssize_t);
[41] Fix | Delete
PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
[42] Fix | Delete
PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t);
[43] Fix | Delete
PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t);
[44] Fix | Delete
PyAPI_FUNC(PyObject *) PyTuple_Pack(Py_ssize_t, ...);
[45] Fix | Delete
PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *);
[46] Fix | Delete
[47] Fix | Delete
/* Macro, trading safety for speed */
[48] Fix | Delete
#define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i])
[49] Fix | Delete
#define PyTuple_GET_SIZE(op) Py_SIZE(op)
[50] Fix | Delete
[51] Fix | Delete
/* Macro, *only* to be used to fill in brand new tuples */
[52] Fix | Delete
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
[53] Fix | Delete
[54] Fix | Delete
PyAPI_FUNC(int) PyTuple_ClearFreeList(void);
[55] Fix | Delete
PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out);
[56] Fix | Delete
[57] Fix | Delete
#ifdef __cplusplus
[58] Fix | Delete
}
[59] Fix | Delete
#endif
[60] Fix | Delete
#endif /* !Py_TUPLEOBJECT_H */
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function