PyCFunctionObject

subclass of PyObject

extern (C)
struct PyCFunctionObject {
PyObject* m_weakreflist;
}

Members

Variables

m_ml
PyMethodDef* m_ml;

Description of the C function to call

m_module
PyObject* m_module;

The __module__ attribute, can be anything

m_self
PyObject* m_self;

Passed as 'self' arg to the C func, can be NULL

Meta