deimos.python.descrobject

Mirror descrobject.h

Members

Aliases

getter
alias getter = PyObject* function(PyObject*, void*)

_

setter
alias setter = int function(PyObject*, PyObject*, void*)

_

wrapperfunc
alias wrapperfunc = PyObject* function(PyObject*, PyObject*, void*)

_

wrapperfunc_kwds
alias wrapperfunc_kwds = PyObject* function(PyObject*, PyObject*, void*, PyObject*)

_

Functions

PyDescr_NAME
PyObject* PyDescr_NAME(T* x)

introduced in python 3, but looks generally useful.

PyDescr_NewClassMethod
PyObject* PyDescr_NewClassMethod(PyTypeObject* , PyMethodDef* )

_

PyDescr_NewGetSet
PyObject* PyDescr_NewGetSet(PyTypeObject* , PyGetSetDef* )

_

PyDescr_NewMember
PyObject* PyDescr_NewMember(PyTypeObject* , PyMemberDef* )

_

PyDescr_NewMethod
PyObject* PyDescr_NewMethod(PyTypeObject* , PyMethodDef* )

_

PyDescr_NewWrapper
PyObject* PyDescr_NewWrapper(PyTypeObject* , wrapperbase* , void* )

_

PyDescr_TYPE
PyTypeObject* PyDescr_TYPE(T* x)

introduced in python 3, but looks generally useful.

PyDictProxy_New
PyObject* PyDictProxy_New(PyObject* )

_

PyWrapper_New
PyObject* PyWrapper_New(PyObject* , PyObject* )

_

Manifest constants

PyWrapperFlag_KEYWORDS
enum PyWrapperFlag_KEYWORDS;

_

Structs

PyDescrObject
struct PyDescrObject

subclass of PyObject.

PyGetSetDef
struct PyGetSetDef

_

PyGetSetDescrObject
struct PyGetSetDescrObject

subclass of PyDescrObject

PyMemberDescrObject
struct PyMemberDescrObject

subclass of PyDescrObject

PyMethodDescrObject
struct PyMethodDescrObject

subclass of PyDescrObject

PyWrapperDescrObject
struct PyWrapperDescrObject

subclass of PyDescrObject

wrapperbase
struct wrapperbase

_

Templates

PyDescr_COMMON
template PyDescr_COMMON()

_

Meta