Searched refs:PyMethodObject (Results 1 – 2 of 2) sorted by relevance
37 } PyMethodObject; typedef70 (((PyMethodObject *)meth) -> im_func)72 (((PyMethodObject *)meth) -> im_self)74 (((PyMethodObject *)meth) -> im_class)
10 static PyMethodObject *free_list;145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()155 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()165 return ((PyMethodObject *)im)->im_class; in PyMethod_Class()2255 register PyMethodObject *im; in PyMethod_New()2258 free_list = (PyMethodObject *)(im->im_self); in PyMethod_New()2263 im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()2282 #define OFF(x) offsetof(PyMethodObject, x)2304 instancemethod_get_doc(PyMethodObject *im, void *context) in instancemethod_get_doc()2323 PyMethodObject *im = (PyMethodObject *)obj; in instancemethod_getattro()[all …]