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

Go to the source code of this file.

Classes

struct  PyListObject
 

Macros

#define PyList_Check(op)   PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
 
#define PyList_CheckExact(op)   (Py_TYPE(op) == &PyList_Type)
 
#define PyList_GET_ITEM(op, i)   (((PyListObject *)(op))->ob_item[i])
 
#define PyList_SET_ITEM(op, i, v)   (((PyListObject *)(op))->ob_item[i] = (v))
 
#define PyList_GET_SIZE(op)   Py_SIZE(op)
 

Functions

 PyAPI_DATA (PyTypeObject) PyList_Type
 
 PyAPI_FUNC (PyObject *) PyList_New(Py_ssize_t size)
 
 PyAPI_FUNC (Py_ssize_t) PyList_Size(PyObject *)
 
 PyAPI_FUNC (int) PyList_SetItem(PyObject *
 

Variables

 Py_ssize_t
 

Macro Definition Documentation

#define PyList_Check (   op)    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
#define PyList_CheckExact (   op)    (Py_TYPE(op) == &PyList_Type)
#define PyList_GET_ITEM (   op,
  i 
)    (((PyListObject *)(op))->ob_item[i])
#define PyList_GET_SIZE (   op)    Py_SIZE(op)
#define PyList_SET_ITEM (   op,
  i,
  v 
)    (((PyListObject *)(op))->ob_item[i] = (v))

Function Documentation

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

Variable Documentation

Copyright 2014 Google Inc. All rights reserved.