summaryrefslogtreecommitdiffstats
path: root/Include/methodobject.h
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-02 22:38:47 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-02 22:38:47 (GMT)
commit1f900f1f69c93e409595f34a6da9e2b10e331421 (patch)
treecc8c26434cbfcac1bb6c80773bf124b3639e2ab5 /Include/methodobject.h
parent7c265a19433644fafcb8eca56633a83307f69739 (diff)
downloadcpython-1f900f1f69c93e409595f34a6da9e2b10e331421.zip
cpython-1f900f1f69c93e409595f34a6da9e2b10e331421.tar.gz
cpython-1f900f1f69c93e409595f34a6da9e2b10e331421.tar.bz2
#3247: get rid of Py_FindMethod
Third step: unix-only modules. Really remove the function this time.
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index cd1d265..81e84ce 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -43,8 +43,6 @@ struct PyMethodDef {
};
typedef struct PyMethodDef PyMethodDef;
-PyAPI_FUNC(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, const char *);
-
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
PyObject *);
@@ -70,14 +68,6 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
#define METH_COEXIST 0x0040
-typedef struct PyMethodChain {
- PyMethodDef *methods; /* Methods of this type */
- struct PyMethodChain *link; /* NULL or base type */
-} PyMethodChain;
-
-PyAPI_FUNC(PyObject *) Py_FindMethodInChain(PyMethodChain *, PyObject *,
- const char *);
-
typedef struct {
PyObject_HEAD
PyMethodDef *m_ml; /* Description of the C function to call */