diff --git a/Include/cinder/hooks.h b/Include/cinder/hooks.h index 36bbc2d1ac3..210f9f232dd 100644 --- a/Include/cinder/hooks.h +++ b/Include/cinder/hooks.h @@ -130,26 +130,6 @@ CiAPI_DATA(Ci_HookType_PyJIT_GenMaterializeFrame) typedef PyObject *(*Ci_HookType_MaybeStrictModule_Dict)(PyObject *op); CiAPI_DATA(Ci_HookType_MaybeStrictModule_Dict) Ci_hook_MaybeStrictModule_Dict; -CiAPI_FUNC(PyObject *) - Cix_method_get_doc(PyMethodDescrObject *descr, void *closure); - -CiAPI_FUNC(PyObject *) - Cix_method_get_text_signature(PyMethodDescrObject *descr, void *closure); - -CiAPI_FUNC(PyObject *) Cix_meth_get__doc__(PyCFunctionObject *m, void *closure); - -CiAPI_FUNC(PyObject *) - Cix_meth_get__name__(PyCFunctionObject *m, void *closure); - -CiAPI_FUNC(PyObject *) - Cix_meth_get__qualname__(PyCFunctionObject *m, void *closure); - -CiAPI_FUNC(PyObject *) - Cix_meth_get__self__(PyCFunctionObject *m, void *closure); - -CiAPI_FUNC(PyObject *) - Cix_meth_get__text_signature__(PyCFunctionObject *m, void *closure); - CiAPI_DATA(_PyFrameEvalFunction) Ci_hook_EvalFrame; typedef PyFrameObject *(*Ci_HookType_PyJIT_GetFrame)(PyThreadState *tstate); diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 3e6978539b7..1be8faa1183 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1924,26 +1924,8 @@ PyTypeObject PyProperty_Type = { PyObject_GC_Del, /* tp_free */ }; -PyObject * -Cix_descr_get_qualname(PyDescrObject *descr, void *closure) -{ - return descr_get_qualname(descr, closure); -} - funcptr Cix_method_enter_call(PyThreadState *tstate, PyObject *func) { return method_enter_call(tstate, func); } - -PyObject * -Cix_method_get_doc(PyMethodDescrObject *descr, void *closure) -{ - return method_get_doc(descr, closure); -} - -PyObject * -Cix_method_get_text_signature(PyMethodDescrObject *descr, void *closure) -{ - return method_get_text_signature(descr, closure); -} diff --git a/Objects/methodobject.c b/Objects/methodobject.c index 59d4dc58f23..0f121992617 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -570,33 +570,3 @@ funcptr Cix_cfunction_enter_call(PyThreadState *tstate, PyObject *func) { return cfunction_enter_call(tstate, func); } - -PyObject * -Cix_meth_get__doc__(PyCFunctionObject *m, void *closure) -{ - return meth_get__doc__(m, closure); -} - -PyObject * -Cix_meth_get__name__(PyCFunctionObject *m, void *closure) -{ - return meth_get__name__(m, closure); -} - -PyObject * -Cix_meth_get__qualname__(PyCFunctionObject *m, void *closure) -{ - return meth_get__qualname__(m, closure); -} - -PyObject * -Cix_meth_get__self__(PyCFunctionObject *m, void *closure) -{ - return meth_get__self__(m, closure); -} - -PyObject * -Cix_meth_get__text_signature__(PyCFunctionObject *m, void *closure) -{ - return meth_get__text_signature__(m, closure); -}