object.h File Reference

Classes

struct  _Py_Identifier
 
struct  bufferinfo
 
struct  PyNumberMethods
 
struct  PySequenceMethods
 
struct  PyMappingMethods
 
struct  PyAsyncMethods
 
struct  PyBufferProcs
 
struct  _typeobject
 
struct  _heaptypeobject
 

Macros

#define _Py_static_string_init(value)
 
#define _Py_static_string(varname, value)
 
#define _Py_IDENTIFIER(varname)
 
#define PyBUF_MAX_NDIM
 
#define PyBUF_SIMPLE
 
#define PyBUF_WRITABLE
 
#define PyBUF_WRITEABLE
 
#define PyBUF_FORMAT
 
#define PyBUF_ND
 
#define PyBUF_STRIDES
 
#define PyBUF_C_CONTIGUOUS
 
#define PyBUF_F_CONTIGUOUS
 
#define PyBUF_ANY_CONTIGUOUS
 
#define PyBUF_INDIRECT
 
#define PyBUF_CONTIG
 
#define PyBUF_CONTIG_RO
 
#define PyBUF_STRIDED
 
#define PyBUF_STRIDED_RO
 
#define PyBUF_RECORDS
 
#define PyBUF_RECORDS_RO
 
#define PyBUF_FULL
 
#define PyBUF_FULL_RO
 
#define PyBUF_READ
 
#define PyBUF_WRITE
 
#define PyHeapType_GET_MEMBERS(etype)
 
#define Py_SETREF(op, op2)
 
#define Py_XSETREF(op, op2)
 
#define _PyObject_ASSERT_FROM(obj, expr, msg, filename, lineno, func)
 
#define _PyObject_ASSERT_WITH_MSG(obj, expr, msg)
 
#define _PyObject_ASSERT(obj, expr)
 
#define _PyObject_ASSERT_FAILED_MSG(obj, msg)
 
#define PyTrash_UNWIND_LEVEL
 
#define Py_TRASHCAN_BEGIN_CONDITION(op, cond)
 
#define Py_TRASHCAN_END
 
#define Py_TRASHCAN_BEGIN(op, dealloc)
 
#define Py_TRASHCAN_SAFE_BEGIN(op)
 
#define Py_TRASHCAN_SAFE_END(op)
 

Typedefs

typedef struct _Py_Identifier _Py_Identifier
 
typedef struct bufferinfo Py_buffer
 
typedef int(* getbufferproc) (PyObject *, Py_buffer *, int)
 
typedef void(* releasebufferproc) (PyObject *, Py_buffer *)
 
typedef PyObject *(* vectorcallfunc) (PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwnames)
 
typedef Py_ssize_t printfunc
 
typedef struct _heaptypeobject PyHeapTypeObject
 

Functions

 PyAPI_FUNC (void) _Py_NewReference(PyObject *op)
 
 PyAPI_FUNC (int) _PyTraceMalloc_NewReference(PyObject *op)
 
 PyAPI_FUNC (const char *) _PyType_Name(PyTypeObject *)
 
 PyAPI_FUNC (PyObject *) _PyType_Lookup(PyTypeObject *
 
PyObject _Py_Identifier _Py_IdentifierPyAPI_FUNC (PyTypeObject *) _PyType_CalculateMetaclass(PyTypeObject *
 
 PyAPI_FUNC (PyObject **) _PyObject_GetDictPtr(PyObject *)
 
 PyAPI_DATA (PyTypeObject) _PyNone_Type
 
 PyAPI_DATA (int) _Py_SwappedOp[]
 

Variables

FILE int
 
struct _Py_Identifier struct _Py_Identifier PyObject struct _Py_Identifier PyObject PyObject struct _Py_Identifier PyObject PyObjectname
 
struct _Py_Identifier struct _Py_Identifier PyObject struct _Py_Identifier PyObject PyObject struct _Py_Identifier PyObject PyObject PyObject ** method
 
const char * block_name
 
const char int num_blocks
 
const char int size_t sizeof_block
 
const char * expr
 
const char const char * msg
 
const char const char const char * file
 
const char const char const char int line
 
const char const char const char int const char * function
 
int check_content
 
PyObjectop
 

Macro Definition Documentation

◆ _Py_static_string_init

#define _Py_static_string_init (   value)

◆ _Py_static_string

#define _Py_static_string (   varname,
  value 
)

◆ _Py_IDENTIFIER

#define _Py_IDENTIFIER (   varname)

◆ PyBUF_MAX_NDIM

#define PyBUF_MAX_NDIM

◆ PyBUF_SIMPLE

#define PyBUF_SIMPLE

◆ PyBUF_WRITABLE

#define PyBUF_WRITABLE

◆ PyBUF_WRITEABLE

#define PyBUF_WRITEABLE

◆ PyBUF_FORMAT

#define PyBUF_FORMAT

◆ PyBUF_ND

#define PyBUF_ND

◆ PyBUF_STRIDES

#define PyBUF_STRIDES

◆ PyBUF_C_CONTIGUOUS

#define PyBUF_C_CONTIGUOUS

◆ PyBUF_F_CONTIGUOUS

#define PyBUF_F_CONTIGUOUS

◆ PyBUF_ANY_CONTIGUOUS

#define PyBUF_ANY_CONTIGUOUS

◆ PyBUF_INDIRECT

#define PyBUF_INDIRECT

◆ PyBUF_CONTIG

#define PyBUF_CONTIG

◆ PyBUF_CONTIG_RO

#define PyBUF_CONTIG_RO

◆ PyBUF_STRIDED

#define PyBUF_STRIDED

◆ PyBUF_STRIDED_RO

#define PyBUF_STRIDED_RO

◆ PyBUF_RECORDS

#define PyBUF_RECORDS

◆ PyBUF_RECORDS_RO

#define PyBUF_RECORDS_RO

◆ PyBUF_FULL

#define PyBUF_FULL

◆ PyBUF_FULL_RO

#define PyBUF_FULL_RO

◆ PyBUF_READ

#define PyBUF_READ

◆ PyBUF_WRITE

#define PyBUF_WRITE

◆ PyHeapType_GET_MEMBERS

#define PyHeapType_GET_MEMBERS (   etype)

◆ Py_SETREF

#define Py_SETREF (   op,
  op2 
)

◆ Py_XSETREF

#define Py_XSETREF (   op,
  op2 
)

◆ _PyObject_ASSERT_FROM

#define _PyObject_ASSERT_FROM (   obj,
  expr,
  msg,
  filename,
  lineno,
  func 
)

◆ _PyObject_ASSERT_WITH_MSG

#define _PyObject_ASSERT_WITH_MSG (   obj,
  expr,
  msg 
)

◆ _PyObject_ASSERT

#define _PyObject_ASSERT (   obj,
  expr 
)

◆ _PyObject_ASSERT_FAILED_MSG

#define _PyObject_ASSERT_FAILED_MSG (   obj,
  msg 
)

◆ PyTrash_UNWIND_LEVEL

#define PyTrash_UNWIND_LEVEL

◆ Py_TRASHCAN_BEGIN_CONDITION

#define Py_TRASHCAN_BEGIN_CONDITION (   op,
  cond 
)

◆ Py_TRASHCAN_END

#define Py_TRASHCAN_END

◆ Py_TRASHCAN_BEGIN

#define Py_TRASHCAN_BEGIN (   op,
  dealloc 
)

◆ Py_TRASHCAN_SAFE_BEGIN

#define Py_TRASHCAN_SAFE_BEGIN (   op)

◆ Py_TRASHCAN_SAFE_END

#define Py_TRASHCAN_SAFE_END (   op)

Typedef Documentation

◆ _Py_Identifier

◆ Py_buffer

typedef struct bufferinfo Py_buffer

◆ getbufferproc

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

◆ releasebufferproc

typedef void(* releasebufferproc) (PyObject *, Py_buffer *)

◆ vectorcallfunc

typedef PyObject*(* vectorcallfunc) (PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwnames)

◆ printfunc

◆ PyHeapTypeObject

Function Documentation

◆ PyAPI_FUNC() [1/6]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [2/6]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [3/6]

PyAPI_FUNC ( const char *  )

◆ PyAPI_FUNC() [4/6]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [5/6]

◆ PyAPI_FUNC() [6/6]

PyAPI_FUNC ( PyObject **  )

◆ PyAPI_DATA() [1/2]

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_DATA() [2/2]

PyAPI_DATA ( int  )

Variable Documentation

◆ int

◆ name

◆ method

◆ block_name

const char* block_name

◆ num_blocks

const char int num_blocks

◆ sizeof_block

const char int size_t sizeof_block

◆ expr

const char* expr

◆ msg

const char const char* msg

◆ file

const char const char const char* file

◆ line

const char const char const char int line

◆ function

const char const char const char int const char* function

◆ check_content

int check_content

◆ op

PyObject* op