From 69785032358a007fbcf56e62c0acea59db79431f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Jan 1995 22:58:48 +0000 Subject: added findmethodinchain and methodchain data types --- Include/methodobject.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Include/methodobject.h') diff --git a/Include/methodobject.h b/Include/methodobject.h index 1b2dd87fa3..946d004bd5 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -57,6 +57,14 @@ extern PyObject *PyCFunction_New /* 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 -- cgit v1.2.1