_typeobject Struct Reference

_typeobject Struct Reference

#include <object.h>

Class Description

Definition at line 324 of file object.h.

Public Attributes

Py_ssize_t ob_refcnt
 
struct _typeobjectob_type
 
Py_ssize_t ob_size
 
const char * tp_name
 
Py_ssize_t tp_basicsize
 
Py_ssize_t tp_itemsize
 
destructor tp_dealloc
 
printfunc tp_print
 
getattrfunc tp_getattr
 
setattrfunc tp_setattr
 
cmpfunc tp_compare
 
reprfunc tp_repr
 
PyNumberMethodstp_as_number
 
PySequenceMethodstp_as_sequence
 
PyMappingMethodstp_as_mapping
 
hashfunc tp_hash
 
ternaryfunc tp_call
 
reprfunc tp_str
 
getattrofunc tp_getattro
 
setattrofunc tp_setattro
 
PyBufferProcstp_as_buffer
 
long tp_flags
 
const char * tp_doc
 
traverseproc tp_traverse
 
inquiry tp_clear
 
richcmpfunc tp_richcompare
 
Py_ssize_t tp_weaklistoffset
 
getiterfunc tp_iter
 
iternextfunc tp_iternext
 
struct PyMethodDeftp_methods
 
struct PyMemberDeftp_members
 
struct PyGetSetDeftp_getset
 
struct _typeobjecttp_base
 
PyObjecttp_dict
 
descrgetfunc tp_descr_get
 
descrsetfunc tp_descr_set
 
Py_ssize_t tp_dictoffset
 
initproc tp_init
 
allocfunc tp_alloc
 
newfunc tp_new
 
freefunc tp_free
 
inquiry tp_is_gc
 
PyObjecttp_bases
 
PyObjecttp_mro
 
PyObjecttp_cache
 
PyObjecttp_subclasses
 
PyObjecttp_weaklist
 
destructor tp_del
 
unsigned int tp_version_tag
 

Member Data Documentation

Py_ssize_t ob_refcnt

Definition at line 325 of file object.h.

Py_ssize_t ob_size

Definition at line 325 of file object.h.

struct _typeobject* ob_type

Definition at line 325 of file object.h.

allocfunc tp_alloc

Definition at line 389 of file object.h.

PyBufferProcs* tp_as_buffer

Definition at line 353 of file object.h.

PyMappingMethods* tp_as_mapping

Definition at line 342 of file object.h.

PyNumberMethods* tp_as_number

Definition at line 340 of file object.h.

PySequenceMethods* tp_as_sequence

Definition at line 341 of file object.h.

struct _typeobject* tp_base

Definition at line 383 of file object.h.

PyObject* tp_bases

Definition at line 393 of file object.h.

Py_ssize_t tp_basicsize

Definition at line 327 of file object.h.

PyObject* tp_cache

Definition at line 395 of file object.h.

ternaryfunc tp_call

Definition at line 347 of file object.h.

inquiry tp_clear

Definition at line 365 of file object.h.

cmpfunc tp_compare

Definition at line 335 of file object.h.

destructor tp_dealloc

Definition at line 331 of file object.h.

destructor tp_del

Definition at line 398 of file object.h.

descrgetfunc tp_descr_get

Definition at line 385 of file object.h.

descrsetfunc tp_descr_set

Definition at line 386 of file object.h.

PyObject* tp_dict

Definition at line 384 of file object.h.

Py_ssize_t tp_dictoffset

Definition at line 387 of file object.h.

const char* tp_doc

Definition at line 358 of file object.h.

long tp_flags

Definition at line 356 of file object.h.

freefunc tp_free

Definition at line 391 of file object.h.

getattrfunc tp_getattr

Definition at line 333 of file object.h.

getattrofunc tp_getattro

Definition at line 349 of file object.h.

struct PyGetSetDef* tp_getset

Definition at line 382 of file object.h.

hashfunc tp_hash

Definition at line 346 of file object.h.

initproc tp_init

Definition at line 388 of file object.h.

inquiry tp_is_gc

Definition at line 392 of file object.h.

Py_ssize_t tp_itemsize

Definition at line 327 of file object.h.

getiterfunc tp_iter

Definition at line 376 of file object.h.

iternextfunc tp_iternext

Definition at line 377 of file object.h.

struct PyMemberDef* tp_members

Definition at line 381 of file object.h.

struct PyMethodDef* tp_methods

Definition at line 380 of file object.h.

PyObject* tp_mro

Definition at line 394 of file object.h.

const char* tp_name

Definition at line 326 of file object.h.

newfunc tp_new

Definition at line 390 of file object.h.

printfunc tp_print

Definition at line 332 of file object.h.

reprfunc tp_repr

Definition at line 336 of file object.h.

richcmpfunc tp_richcompare

Definition at line 369 of file object.h.

setattrfunc tp_setattr

Definition at line 334 of file object.h.

setattrofunc tp_setattro

Definition at line 350 of file object.h.

reprfunc tp_str

Definition at line 348 of file object.h.

PyObject* tp_subclasses

Definition at line 396 of file object.h.

traverseproc tp_traverse

Definition at line 362 of file object.h.

unsigned int tp_version_tag

Definition at line 401 of file object.h.

PyObject* tp_weaklist

Definition at line 397 of file object.h.

Py_ssize_t tp_weaklistoffset

Definition at line 372 of file object.h.


The documentation for this struct was generated from the following file: