Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Functions | Variables
tupleobject.h File Reference

Go to the source code of this file.

Classes

struct  PyTupleObject
 

Macros

#define PyTuple_Check(op)   PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
 
#define PyTuple_CheckExact(op)   (Py_TYPE(op) == &PyTuple_Type)
 
#define PyTuple_GET_ITEM(op, i)   (((PyTupleObject *)(op))->ob_item[i])
 
#define PyTuple_GET_SIZE(op)   Py_SIZE(op)
 
#define PyTuple_SET_ITEM(op, i, v)   (((PyTupleObject *)(op))->ob_item[i] = v)
 

Functions

 PyAPI_DATA (PyTypeObject) PyTuple_Type
 
 PyAPI_FUNC (PyObject *) PyTuple_New(Py_ssize_t size)
 
 PyAPI_FUNC (Py_ssize_t) PyTuple_Size(PyObject *)
 
 PyAPI_FUNC (int) PyTuple_SetItem(PyObject *
 
 PyAPI_FUNC (void) _PyTuple_MaybeUntrack(PyObject *)
 

Variables

 Py_ssize_t
 

Macro Definition Documentation

#define PyTuple_Check (   op)    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
#define PyTuple_CheckExact (   op)    (Py_TYPE(op) == &PyTuple_Type)
#define PyTuple_GET_ITEM (   op,
  i 
)    (((PyTupleObject *)(op))->ob_item[i])
#define PyTuple_GET_SIZE (   op)    Py_SIZE(op)
#define PyTuple_SET_ITEM (   op,
  i,
  v 
)    (((PyTupleObject *)(op))->ob_item[i] = v)

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( PyObject )
read
PyAPI_FUNC ( Py_ssize_t  )
PyAPI_FUNC ( int  )
read
PyAPI_FUNC ( void  )

Variable Documentation

Copyright 2014 Google Inc. All rights reserved.