Spaces:
Running
Running
PyAPI_DATA(PyTypeObject) PyCMethod_Type; | |
/* Macros for direct access to these values. Type checks are *not* | |
done, so use with care. */ | |
typedef struct { | |
PyObject_HEAD | |
PyMethodDef *m_ml; /* Description of the C function to call */ | |
PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ | |
PyObject *m_module; /* The __module__ attribute, can be anything */ | |
PyObject *m_weakreflist; /* List of weak references */ | |
vectorcallfunc vectorcall; | |
} PyCFunctionObject; | |
typedef struct { | |
PyCFunctionObject func; | |
PyTypeObject *mm_class; /* Class that defines this method */ | |
} PyCMethodObject; | |