objimpl.h File Reference

Classes

struct  PyObjectArenaAllocator
 

Macros

#define _PyObject_SIZE(typeobj)
 
#define _PyObject_VAR_SIZE(typeobj, nitems)
 
#define PyObject_INIT(op, typeobj)
 
#define PyObject_INIT_VAR(op, typeobj, size)
 
#define _PyGC_FINALIZED(o)
 
#define PyType_SUPPORTS_WEAKREFS(t)
 

Functions

static PyObject_PyObject_INIT (PyObject *op, PyTypeObject *typeobj)
 
static PyVarObject_PyObject_INIT_VAR (PyVarObject *op, PyTypeObject *typeobj, Py_ssize_t size)
 
 PyAPI_FUNC (Py_ssize_t) _Py_GetAllocatedBlocks(void)
 
 PyAPI_FUNC (void) PyObject_GetArenaAllocator(PyObjectArenaAllocator *allocator)
 
 PyAPI_FUNC (int) PyObject_IS_GC(PyObject *obj)
 
 PyAPI_FUNC (PyObject *) _PyObject_GC_Malloc(size_t size)
 
 PyAPI_FUNC (PyObject **) PyObject_GET_WEAKREFS_LISTPTR(PyObject *op)
 

Macro Definition Documentation

◆ _PyObject_SIZE

#define _PyObject_SIZE (   typeobj)

◆ _PyObject_VAR_SIZE

#define _PyObject_VAR_SIZE (   typeobj,
  nitems 
)

◆ PyObject_INIT

#define PyObject_INIT (   op,
  typeobj 
)

◆ PyObject_INIT_VAR

#define PyObject_INIT_VAR (   op,
  typeobj,
  size 
)

◆ _PyGC_FINALIZED

#define _PyGC_FINALIZED (   o)

◆ PyType_SUPPORTS_WEAKREFS

#define PyType_SUPPORTS_WEAKREFS (   t)

Function Documentation

◆ _PyObject_INIT()

static PyObject* _PyObject_INIT ( PyObject op,
PyTypeObject typeobj 
)
static

◆ _PyObject_INIT_VAR()

static PyVarObject* _PyObject_INIT_VAR ( PyVarObject op,
PyTypeObject typeobj,
Py_ssize_t  size 
)
static

◆ PyAPI_FUNC() [1/5]

PyAPI_FUNC ( Py_ssize_t  )

◆ PyAPI_FUNC() [2/5]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [3/5]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [4/5]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [5/5]

PyAPI_FUNC ( PyObject **  )