Classes | |
struct | PyMethodDef |
struct | PyMethodChain |
struct | PyCFunctionObject |
Macros | |
#define | PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) |
#define | PyCFunction_GET_FUNCTION(func) (((PyCFunctionObject *)func) -> m_ml -> ml_meth) |
#define | PyCFunction_GET_SELF(func) (((PyCFunctionObject *)func) -> m_self) |
#define | PyCFunction_GET_FLAGS(func) (((PyCFunctionObject *)func) -> m_ml -> ml_flags) |
#define | PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) |
#define | METH_OLDARGS 0x0000 |
#define | METH_VARARGS 0x0001 |
#define | METH_KEYWORDS 0x0002 |
#define | METH_NOARGS 0x0004 |
#define | METH_O 0x0008 |
#define | METH_CLASS 0x0010 |
#define | METH_STATIC 0x0020 |
#define | METH_COEXIST 0x0040 |
Typedefs | |
typedef PyObject *(* | PyCFunction) (PyObject *, PyObject *) |
typedef PyObject *(* | PyCFunctionWithKeywords) (PyObject *, PyObject *, PyObject *) |
typedef PyObject *(* | PyNoArgsFunction) (PyObject *) |
typedef struct PyMethodDef | PyMethodDef |
typedef struct PyMethodChain | PyMethodChain |
Functions | |
PyAPI_DATA (PyTypeObject) PyCFunction_Type | |
PyAPI_FUNC (PyCFunction) PyCFunction_GetFunction(PyObject *) | |
PyAPI_FUNC (PyObject *) PyCFunction_GetSelf(PyObject *) | |
PyAPI_FUNC (int) PyCFunction_GetFlags(PyObject *) | |
#define METH_CLASS 0x0010 |
Definition at line 63 of file methodobject.h.
#define METH_COEXIST 0x0040 |
Definition at line 71 of file methodobject.h.
#define METH_KEYWORDS 0x0002 |
Definition at line 55 of file methodobject.h.
#define METH_NOARGS 0x0004 |
Definition at line 57 of file methodobject.h.
#define METH_O 0x0008 |
Definition at line 58 of file methodobject.h.
#define METH_OLDARGS 0x0000 |
Definition at line 53 of file methodobject.h.
#define METH_STATIC 0x0020 |
Definition at line 64 of file methodobject.h.
#define METH_VARARGS 0x0001 |
Definition at line 54 of file methodobject.h.
#define PyCFunction_Check | ( | op | ) | (Py_TYPE(op) == &PyCFunction_Type) |
Definition at line 16 of file methodobject.h.
#define PyCFunction_GET_FLAGS | ( | func | ) | (((PyCFunctionObject *)func) -> m_ml -> ml_flags) |
Definition at line 33 of file methodobject.h.
#define PyCFunction_GET_FUNCTION | ( | func | ) | (((PyCFunctionObject *)func) -> m_ml -> ml_meth) |
Definition at line 29 of file methodobject.h.
#define PyCFunction_GET_SELF | ( | func | ) | (((PyCFunctionObject *)func) -> m_self) |
Definition at line 31 of file methodobject.h.
#define PyCFunction_New | ( | ML, | |
SELF | |||
) | PyCFunction_NewEx((ML), (SELF), NULL) |
Definition at line 48 of file methodobject.h.
Definition at line 18 of file methodobject.h.
Definition at line 19 of file methodobject.h.
typedef struct PyMethodChain PyMethodChain |
typedef struct PyMethodDef PyMethodDef |
Definition at line 44 of file methodobject.h.
Definition at line 21 of file methodobject.h.
PyAPI_DATA | ( | PyTypeObject | ) |
PyAPI_FUNC | ( | PyCFunction | ) |
PyAPI_FUNC | ( | PyObject * | ) |
PyAPI_FUNC | ( | int | ) |