added findmethodinchain and methodchain data types
diff --git a/Include/methodobject.h b/Include/methodobject.h
index 1b2dd87..946d004 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -57,6 +57,14 @@
/* Flag passed to newmethodobject */
#define METH_VARARGS 0x0001
+typedef struct PyMethodChain {
+ PyMethodDef *methods; /* Methods of this type */
+ struct PyMethodChain *link; /* NULL or base type */
+} PyMethodChain;
+
+extern PyObject *Py_FindMethodInChain
+ Py_PROTO((PyMethodChain *, PyObject *, char *));
+
#ifdef __cplusplus
}
#endif