Back to index

python3.2  3.2.2
Classes | Defines | Typedefs | Functions | Variables
object.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _object
struct  PyVarObject
struct  bufferinfo
struct  PyNumberMethods
struct  PySequenceMethods
struct  PyMappingMethods
struct  PyBufferProcs
struct  _typeobject
struct  PyType_Slot
struct  PyType_Spec
struct  _heaptypeobject

Defines

#define _PyObject_HEAD_EXTRA
#define _PyObject_EXTRA_INIT
#define PyObject_HEAD   PyObject ob_base;
#define PyObject_HEAD_INIT(type)
#define PyVarObject_HEAD_INIT(type, size)   { PyObject_HEAD_INIT(type) size },
#define PyObject_VAR_HEAD   PyVarObject ob_base;
#define Py_INVALID_SIZE   (Py_ssize_t)-1
#define Py_REFCNT(ob)   (((PyObject*)(ob))->ob_refcnt)
#define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)
#define Py_SIZE(ob)   (((PyVarObject*)(ob))->ob_size)
#define PyBUF_SIMPLE   0
#define PyBUF_WRITABLE   0x0001
#define PyBUF_WRITEABLE   PyBUF_WRITABLE
#define PyBUF_FORMAT   0x0004
#define PyBUF_ND   0x0008
#define PyBUF_STRIDES   (0x0010 | PyBUF_ND)
#define PyBUF_C_CONTIGUOUS   (0x0020 | PyBUF_STRIDES)
#define PyBUF_F_CONTIGUOUS   (0x0040 | PyBUF_STRIDES)
#define PyBUF_ANY_CONTIGUOUS   (0x0080 | PyBUF_STRIDES)
#define PyBUF_INDIRECT   (0x0100 | PyBUF_STRIDES)
#define PyBUF_CONTIG   (PyBUF_ND | PyBUF_WRITABLE)
#define PyBUF_CONTIG_RO   (PyBUF_ND)
#define PyBUF_STRIDED   (PyBUF_STRIDES | PyBUF_WRITABLE)
#define PyBUF_STRIDED_RO   (PyBUF_STRIDES)
#define PyBUF_RECORDS   (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT)
#define PyBUF_RECORDS_RO   (PyBUF_STRIDES | PyBUF_FORMAT)
#define PyBUF_FULL   (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT)
#define PyBUF_FULL_RO   (PyBUF_INDIRECT | PyBUF_FORMAT)
#define PyBUF_READ   0x100
#define PyBUF_WRITE   0x200
#define PyHeapType_GET_MEMBERS(etype)   ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
#define PyObject_TypeCheck(ob, tp)   (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
#define PyType_Check(op)   PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS)
#define PyType_CheckExact(op)   (Py_TYPE(op) == &PyType_Type)
#define PyObject_REPR(obj)   _PyUnicode_AsString(PyObject_Repr(obj))
#define Py_PRINT_RAW   1 /* No string quotes etc. */
#define Py_TPFLAGS_HEAPTYPE   (1L<<9)
#define Py_TPFLAGS_BASETYPE   (1L<<10)
#define Py_TPFLAGS_READY   (1L<<12)
#define Py_TPFLAGS_READYING   (1L<<13)
#define Py_TPFLAGS_HAVE_GC   (1L<<14)
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION   0
#define Py_TPFLAGS_HAVE_VERSION_TAG   (1L<<18)
#define Py_TPFLAGS_VALID_VERSION_TAG   (1L<<19)
#define Py_TPFLAGS_IS_ABSTRACT   (1L<<20)
#define Py_TPFLAGS_INT_SUBCLASS   (1L<<23)
#define Py_TPFLAGS_LONG_SUBCLASS   (1L<<24)
#define Py_TPFLAGS_LIST_SUBCLASS   (1L<<25)
#define Py_TPFLAGS_TUPLE_SUBCLASS   (1L<<26)
#define Py_TPFLAGS_BYTES_SUBCLASS   (1L<<27)
#define Py_TPFLAGS_UNICODE_SUBCLASS   (1L<<28)
#define Py_TPFLAGS_DICT_SUBCLASS   (1L<<29)
#define Py_TPFLAGS_BASE_EXC_SUBCLASS   (1L<<30)
#define Py_TPFLAGS_TYPE_SUBCLASS   (1L<<31)
#define Py_TPFLAGS_DEFAULT
#define PyType_HasFeature(t, f)   (((t)->tp_flags & (f)) != 0)
#define PyType_FastSubclass(t, f)   PyType_HasFeature(t,f)
#define _Py_INC_REFTOTAL
#define _Py_DEC_REFTOTAL
#define _Py_REF_DEBUG_COMMA
#define _Py_CHECK_REFCNT(OP)   /* a semicolon */;
#define _Py_INC_TPALLOCS(OP)
#define _Py_INC_TPFREES(OP)
#define _Py_DEC_TPFREES(OP)
#define _Py_COUNT_ALLOCS_COMMA
#define _Py_NewReference(op)
#define _Py_ForgetReference(op)   _Py_INC_TPFREES(op)
#define _Py_Dealloc(op)
#define Py_INCREF(op)
#define Py_DECREF(op)
#define Py_CLEAR(op)
#define Py_XINCREF(op)   do { if ((op) == NULL) ; else Py_INCREF(op); } while (0)
#define Py_XDECREF(op)   do { if ((op) == NULL) ; else Py_DECREF(op); } while (0)
#define Py_None   (&_Py_NoneStruct)
#define Py_RETURN_NONE   return Py_INCREF(Py_None), Py_None
#define Py_NotImplemented   (&_Py_NotImplementedStruct)
#define Py_LT   0
#define Py_LE   1
#define Py_EQ   2
#define Py_NE   3
#define Py_GT   4
#define Py_GE   5
#define PyTrash_UNWIND_LEVEL   50
#define Py_TRASHCAN_SAFE_BEGIN(op)
#define Py_TRASHCAN_SAFE_END(op)

Typedefs

typedef struct _object PyObject
typedef PyObject *(* unaryfunc )(PyObject *)
typedef PyObject *(* binaryfunc )(PyObject *, PyObject *)
typedef PyObject *(* ternaryfunc )(PyObject *, PyObject *, PyObject *)
typedef int(* inquiry )(PyObject *)
typedef Py_ssize_t(* lenfunc )(PyObject *)
typedef PyObject *(* ssizeargfunc )(PyObject *, Py_ssize_t)
typedef PyObject *(* ssizessizeargfunc )(PyObject *, Py_ssize_t, Py_ssize_t)
typedef int(* ssizeobjargproc )(PyObject *, Py_ssize_t, PyObject *)
typedef int(* ssizessizeobjargproc )(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *)
typedef int(* objobjargproc )(PyObject *, PyObject *, PyObject *)
typedef struct bufferinfo Py_buffer
typedef int(* getbufferproc )(PyObject *, Py_buffer *, int)
typedef void(* releasebufferproc )(PyObject *, Py_buffer *)
typedef int(* objobjproc )(PyObject *, PyObject *)
typedef int(* visitproc )(PyObject *, void *)
typedef int(* traverseproc )(PyObject *, visitproc, void *)
typedef void(* freefunc )(void *)
typedef void(* destructor )(PyObject *)
typedef int(* printfunc )(PyObject *, FILE *, int)
typedef PyObject *(* getattrfunc )(PyObject *, char *)
typedef PyObject *(* getattrofunc )(PyObject *, PyObject *)
typedef int(* setattrfunc )(PyObject *, char *, PyObject *)
typedef int(* setattrofunc )(PyObject *, PyObject *, PyObject *)
typedef PyObject *(* reprfunc )(PyObject *)
typedef Py_hash_t(* hashfunc )(PyObject *)
typedef PyObject *(* richcmpfunc )(PyObject *, PyObject *, int)
typedef PyObject *(* getiterfunc )(PyObject *)
typedef PyObject *(* iternextfunc )(PyObject *)
typedef PyObject *(* descrgetfunc )(PyObject *, PyObject *, PyObject *)
typedef int(* descrsetfunc )(PyObject *, PyObject *, PyObject *)
typedef int(* initproc )(PyObject *, PyObject *, PyObject *)
typedef PyObject *(* newfunc )(struct _typeobject *, PyObject *, PyObject *)
typedef PyObject *(* allocfunc )(struct _typeobject *, Py_ssize_t)
typedef struct _typeobject PyTypeObject
typedef struct _heaptypeobject PyHeapTypeObject

Functions

 PyAPI_FUNC (PyObject *) PyType_FromSpec(PyType_Spec *)
 PyAPI_FUNC (int) PyType_IsSubtype(PyTypeObject *
 PyAPI_DATA (PyTypeObject) PyType_Type
 PyAPI_FUNC (long) PyType_GetFlags(PyTypeObject *)
PyObject PyObject PyObject
char PyObject ** 
PyAPI_FUNC (unsigned int) PyType_ClearCache(void)
 PyAPI_FUNC (void) PyType_Modified(PyTypeObject *)
const char const char PyObject
const char PyObject PyObject
PyObject PyObject
PyAPI_FUNC (PyObject **) _PyObject_GetDictPtr(PyObject *)
 PyAPI_DATA (PyObject) _Py_NoneStruct
 PyAPI_DATA (int) _Py_SwappedOp[]
 PyAPI_DATA (PyObject *) _PyTrash_delete_later

Variables

 Py_ssize_t
FILE int

Class Documentation

struct PyVarObject

Definition at line 111 of file object.h.

Collaboration diagram for PyVarObject:
Class Members
PyObject ob_base
Py_ssize_t ob_size
struct bufferinfo

Definition at line 148 of file object.h.

Collaboration diagram for bufferinfo:
Class Members
void * buf
char * format
void * internal
Py_ssize_t itemsize
Py_ssize_t len
int ndim
PyObject * obj
int readonly
Py_ssize_t * shape
Py_ssize_t smalltable
Py_ssize_t * strides
Py_ssize_t * suboffsets
struct PyNumberMethods

Definition at line 205 of file object.h.

Collaboration diagram for PyNumberMethods:
Class Members
unaryfunc nb_absolute
binaryfunc nb_add
binaryfunc nb_and
inquiry nb_bool
binaryfunc nb_divmod
unaryfunc nb_float
binaryfunc nb_floor_divide
unaryfunc nb_index
binaryfunc nb_inplace_add
binaryfunc nb_inplace_and
binaryfunc nb_inplace_floor_divide
binaryfunc nb_inplace_lshift
binaryfunc nb_inplace_multiply
binaryfunc nb_inplace_or
ternaryfunc nb_inplace_power
binaryfunc nb_inplace_remainder
binaryfunc nb_inplace_rshift
binaryfunc nb_inplace_subtract
binaryfunc nb_inplace_true_divide
binaryfunc nb_inplace_xor
unaryfunc nb_int
unaryfunc nb_invert
binaryfunc nb_lshift
binaryfunc nb_multiply
unaryfunc nb_negative
binaryfunc nb_or
unaryfunc nb_positive
ternaryfunc nb_power
binaryfunc nb_remainder
void * nb_reserved
binaryfunc nb_rshift
binaryfunc nb_subtract
binaryfunc nb_true_divide
binaryfunc nb_xor
struct PySequenceMethods

Definition at line 249 of file object.h.

Collaboration diagram for PySequenceMethods:
Class Members
ssizeobjargproc sq_ass_item
binaryfunc sq_concat
objobjproc sq_contains
binaryfunc sq_inplace_concat
ssizeargfunc sq_inplace_repeat
ssizeargfunc sq_item
lenfunc sq_length
ssizeargfunc sq_repeat
void * was_sq_ass_slice
void * was_sq_slice
struct PyMappingMethods

Definition at line 263 of file object.h.

Collaboration diagram for PyMappingMethods:
Class Members
objobjargproc mp_ass_subscript
lenfunc mp_length
binaryfunc mp_subscript
struct PyBufferProcs

Definition at line 270 of file object.h.

Collaboration diagram for PyBufferProcs:
Class Members
getbufferproc bf_getbuffer
releasebufferproc bf_releasebuffer
struct _typeobject

Definition at line 1 of file typestruct.h.

Collaboration diagram for _typeobject:
Class Members
allocfunc tp_alloc
PyBufferProcs * tp_as_buffer
PyMappingMethods * tp_as_mapping
PyNumberMethods * tp_as_number
PySequenceMethods * tp_as_sequence
struct _typeobject * tp_base
PyObject * tp_bases
int tp_basicsize
Py_ssize_t tp_basicsize
PyObject * tp_cache
ternaryfunc tp_call
inquiry tp_clear
destructor tp_dealloc
destructor tp_del
descrgetfunc tp_descr_get
descrsetfunc tp_descr_set
PyObject * tp_dict
long tp_dictoffset
Py_ssize_t tp_dictoffset
char * tp_doc
const char * tp_doc
long tp_flags
freefunc tp_free
getattrfunc tp_getattr
getattrofunc tp_getattro
struct PyGetSetDef * tp_getset
hashfunc tp_hash
initproc tp_init
inquiry tp_is_gc
int tp_itemsize
Py_ssize_t tp_itemsize
getiterfunc tp_iter
iternextfunc tp_iternext
struct PyMemberDef * tp_members
struct PyMethodDef * tp_methods
PyObject * tp_mro
PyObject_VAR_HEAD char * tp_name
PyObject_VAR_HEAD const char * tp_name
newfunc tp_new
printfunc tp_print
reprfunc tp_repr
void * tp_reserved
richcmpfunc tp_richcompare
setattrfunc tp_setattr
setattrofunc tp_setattro
reprfunc tp_str
PyObject * tp_subclasses
traverseproc tp_traverse
unsigned int tp_version_tag
PyObject * tp_weaklist
long tp_weaklistoffset
Py_ssize_t tp_weaklistoffset
struct PyType_Slot

Definition at line 392 of file object.h.

Class Members
void * pfunc
int slot
struct PyType_Spec

Definition at line 397 of file object.h.

Collaboration diagram for PyType_Spec:
Class Members
int basicsize
int flags
int itemsize
const char * name
PyType_Slot * slots
struct _heaptypeobject

Definition at line 409 of file object.h.

Collaboration diagram for _heaptypeobject:
Class Members
PyBufferProcs as_buffer
PyMappingMethods as_mapping
PyNumberMethods as_number
PySequenceMethods as_sequence
PyObject * ht_name
PyObject * ht_slots
PyTypeObject ht_type

Define Documentation

#define _Py_CHECK_REFCNT (   OP)    /* a semicolon */;

Definition at line 663 of file object.h.

Definition at line 677 of file object.h.

#define _Py_Dealloc (   op)
Value:
(                               \
    _Py_INC_TPFREES(op) _Py_COUNT_ALLOCS_COMMA          \
    (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))

Definition at line 703 of file object.h.

Definition at line 661 of file object.h.

#define _Py_DEC_TPFREES (   OP)

Definition at line 676 of file object.h.

#define _Py_ForgetReference (   op)    _Py_INC_TPFREES(op)

Definition at line 698 of file object.h.

Definition at line 660 of file object.h.

#define _Py_INC_TPALLOCS (   OP)

Definition at line 674 of file object.h.

#define _Py_INC_TPFREES (   OP)

Definition at line 675 of file object.h.

#define _Py_NewReference (   op)
Value:

Definition at line 693 of file object.h.

Definition at line 662 of file object.h.

Definition at line 78 of file object.h.

Definition at line 77 of file object.h.

#define Py_CLEAR (   op)
Value:
do {                                        \
        if (op) {                               \
            PyObject *_py_tmp = (PyObject *)(op);               \
            (op) = NULL;                        \
            Py_DECREF(_py_tmp);                 \
        }                                       \
    } while (0)

Definition at line 756 of file object.h.

#define Py_DECREF (   op)
Value:
do {                                                \
        if (_Py_DEC_REFTOTAL  _Py_REF_DEBUG_COMMA       \
        --((PyObject*)(op))->ob_refcnt != 0)            \
            _Py_CHECK_REFCNT(op)                        \
        else                                            \
        _Py_Dealloc((PyObject *)(op));                  \
    } while (0)

Definition at line 713 of file object.h.

#define Py_EQ   2

Definition at line 798 of file object.h.

#define Py_GE   5

Definition at line 801 of file object.h.

#define Py_GT   4

Definition at line 800 of file object.h.

#define Py_INCREF (   op)
Value:
(                         \
    _Py_INC_REFTOTAL  _Py_REF_DEBUG_COMMA       \
    ((PyObject*)(op))->ob_refcnt++)

Definition at line 709 of file object.h.

#define Py_INVALID_SIZE   (Py_ssize_t)-1

Definition at line 98 of file object.h.

#define Py_LE   1

Definition at line 797 of file object.h.

#define Py_LT   0

Definition at line 796 of file object.h.

#define Py_NE   3

Definition at line 799 of file object.h.

#define Py_None   (&_Py_NoneStruct)

Definition at line 783 of file object.h.

Definition at line 793 of file object.h.

#define Py_PRINT_RAW   1 /* No string quotes etc. */

Definition at line 523 of file object.h.

#define Py_REFCNT (   ob)    (((PyObject*)(ob))->ob_refcnt)

Definition at line 116 of file object.h.

#define Py_RETURN_NONE   return Py_INCREF(Py_None), Py_None

Definition at line 786 of file object.h.

#define Py_SIZE (   ob)    (((PyVarObject*)(ob))->ob_size)

Definition at line 118 of file object.h.

#define Py_TPFLAGS_BASE_EXC_SUBCLASS   (1L<<30)

Definition at line 585 of file object.h.

#define Py_TPFLAGS_BASETYPE   (1L<<10)

Definition at line 552 of file object.h.

#define Py_TPFLAGS_BYTES_SUBCLASS   (1L<<27)

Definition at line 582 of file object.h.

Value:
( \
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
                 Py_TPFLAGS_HAVE_VERSION_TAG | \
                0)

Definition at line 588 of file object.h.

#define Py_TPFLAGS_DICT_SUBCLASS   (1L<<29)

Definition at line 584 of file object.h.

#define Py_TPFLAGS_HAVE_GC   (1L<<14)

Definition at line 561 of file object.h.

Definition at line 567 of file object.h.

#define Py_TPFLAGS_HAVE_VERSION_TAG   (1L<<18)

Definition at line 571 of file object.h.

#define Py_TPFLAGS_HEAPTYPE   (1L<<9)

Definition at line 549 of file object.h.

#define Py_TPFLAGS_INT_SUBCLASS   (1L<<23)

Definition at line 578 of file object.h.

#define Py_TPFLAGS_IS_ABSTRACT   (1L<<20)

Definition at line 575 of file object.h.

#define Py_TPFLAGS_LIST_SUBCLASS   (1L<<25)

Definition at line 580 of file object.h.

#define Py_TPFLAGS_LONG_SUBCLASS   (1L<<24)

Definition at line 579 of file object.h.

#define Py_TPFLAGS_READY   (1L<<12)

Definition at line 555 of file object.h.

#define Py_TPFLAGS_READYING   (1L<<13)

Definition at line 558 of file object.h.

#define Py_TPFLAGS_TUPLE_SUBCLASS   (1L<<26)

Definition at line 581 of file object.h.

#define Py_TPFLAGS_TYPE_SUBCLASS   (1L<<31)

Definition at line 586 of file object.h.

#define Py_TPFLAGS_UNICODE_SUBCLASS   (1L<<28)

Definition at line 583 of file object.h.

#define Py_TPFLAGS_VALID_VERSION_TAG   (1L<<19)

Definition at line 572 of file object.h.

#define Py_TRASHCAN_SAFE_BEGIN (   op)
Value:

Definition at line 910 of file object.h.

#define Py_TRASHCAN_SAFE_END (   op)
Value:

Definition at line 914 of file object.h.

#define Py_TYPE (   ob)    (((PyObject*)(ob))->ob_type)

Definition at line 117 of file object.h.

#define Py_XDECREF (   op)    do { if ((op) == NULL) ; else Py_DECREF(op); } while (0)

Definition at line 767 of file object.h.

#define Py_XINCREF (   op)    do { if ((op) == NULL) ; else Py_INCREF(op); } while (0)

Definition at line 766 of file object.h.

#define PyBUF_ANY_CONTIGUOUS   (0x0080 | PyBUF_STRIDES)

Definition at line 178 of file object.h.

#define PyBUF_C_CONTIGUOUS   (0x0020 | PyBUF_STRIDES)

Definition at line 176 of file object.h.

Definition at line 181 of file object.h.

#define PyBUF_CONTIG_RO   (PyBUF_ND)

Definition at line 182 of file object.h.

#define PyBUF_F_CONTIGUOUS   (0x0040 | PyBUF_STRIDES)

Definition at line 177 of file object.h.

#define PyBUF_FORMAT   0x0004

Definition at line 173 of file object.h.

Definition at line 190 of file object.h.

Definition at line 191 of file object.h.

#define PyBUF_INDIRECT   (0x0100 | PyBUF_STRIDES)

Definition at line 179 of file object.h.

#define PyBUF_ND   0x0008

Definition at line 174 of file object.h.

#define PyBUF_READ   0x100

Definition at line 194 of file object.h.

Definition at line 187 of file object.h.

Definition at line 188 of file object.h.

#define PyBUF_SIMPLE   0

Definition at line 169 of file object.h.

Definition at line 184 of file object.h.

Definition at line 185 of file object.h.

#define PyBUF_STRIDES   (0x0010 | PyBUF_ND)

Definition at line 175 of file object.h.

#define PyBUF_WRITABLE   0x0001

Definition at line 170 of file object.h.

#define PyBUF_WRITE   0x200

Definition at line 195 of file object.h.

Definition at line 172 of file object.h.

#define PyHeapType_GET_MEMBERS (   etype)    ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))

Definition at line 426 of file object.h.

#define PyObject_HEAD   PyObject ob_base;

Definition at line 82 of file object.h.

#define PyObject_HEAD_INIT (   type)
Value:

Definition at line 84 of file object.h.

Definition at line 520 of file object.h.

#define PyObject_TypeCheck (   ob,
  tp 
)    (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))

Definition at line 432 of file object.h.

#define PyObject_VAR_HEAD   PyVarObject ob_base;

Definition at line 97 of file object.h.

#define PyTrash_UNWIND_LEVEL   50

Definition at line 908 of file object.h.

Definition at line 441 of file object.h.

#define PyType_CheckExact (   op)    (Py_TYPE(op) == &PyType_Type)

Definition at line 443 of file object.h.

#define PyType_FastSubclass (   t,
 
)    PyType_HasFeature(t,f)

Definition at line 598 of file object.h.

#define PyType_HasFeature (   t,
 
)    (((t)->tp_flags & (f)) != 0)

Definition at line 596 of file object.h.

#define PyVarObject_HEAD_INIT (   type,
  size 
)    { PyObject_HEAD_INIT(type) size },

Definition at line 88 of file object.h.


Typedef Documentation

typedef PyObject*(* allocfunc)(struct _typeobject *, Py_ssize_t)

Definition at line 298 of file object.h.

typedef PyObject*(* binaryfunc)(PyObject *, PyObject *)

Definition at line 136 of file object.h.

Definition at line 294 of file object.h.

typedef int(* descrsetfunc)(PyObject *, PyObject *, PyObject *)

Definition at line 295 of file object.h.

Definition at line 277 of file object.h.

typedef void(* freefunc)(void *)

Definition at line 276 of file object.h.

typedef PyObject*(* getattrfunc)(PyObject *, char *)

Definition at line 285 of file object.h.

Definition at line 286 of file object.h.

typedef int(* getbufferproc)(PyObject *, Py_buffer *, int)

Definition at line 165 of file object.h.

typedef PyObject*(* getiterfunc)(PyObject *)

Definition at line 292 of file object.h.

typedef Py_hash_t(* hashfunc)(PyObject *)

Definition at line 290 of file object.h.

typedef int(* initproc)(PyObject *, PyObject *, PyObject *)

Definition at line 296 of file object.h.

typedef int(* inquiry)(PyObject *)

Definition at line 138 of file object.h.

typedef PyObject*(* iternextfunc)(PyObject *)

Definition at line 293 of file object.h.

typedef Py_ssize_t(* lenfunc)(PyObject *)

Definition at line 139 of file object.h.

typedef PyObject*(* newfunc)(struct _typeobject *, PyObject *, PyObject *)

Definition at line 297 of file object.h.

Definition at line 144 of file object.h.

typedef int(* objobjproc)(PyObject *, PyObject *)

Definition at line 200 of file object.h.

typedef int(* printfunc)(PyObject *, FILE *, int)

Definition at line 283 of file object.h.

typedef struct bufferinfo Py_buffer
typedef struct _object PyObject
typedef struct _typeobject PyTypeObject

Definition at line 166 of file object.h.

typedef PyObject*(* reprfunc)(PyObject *)

Definition at line 289 of file object.h.

Definition at line 291 of file object.h.

typedef int(* setattrfunc)(PyObject *, char *, PyObject *)

Definition at line 287 of file object.h.

typedef int(* setattrofunc)(PyObject *, PyObject *, PyObject *)

Definition at line 288 of file object.h.

Definition at line 140 of file object.h.

Definition at line 142 of file object.h.

Definition at line 141 of file object.h.

Definition at line 143 of file object.h.

Definition at line 137 of file object.h.

typedef int(* traverseproc)(PyObject *, visitproc, void *)

Definition at line 202 of file object.h.

typedef PyObject*(* unaryfunc)(PyObject *)

Definition at line 135 of file object.h.

typedef int(* visitproc)(PyObject *, void *)

Definition at line 201 of file object.h.


Function Documentation

PyAPI_DATA ( int  )
PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

{
    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);
}
PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

PyObject PyObject PyObject char PyObject** PyAPI_FUNC ( unsigned  int)

Definition at line 1904 of file object.c.


Variable Documentation

Definition at line 458 of file object.h.

Definition at line 446 of file object.h.