added findmethodinchain and methodchain data types

This commit is contained in:
Guido van Rossum 1995-01-26 22:58:48 +00:00
parent 5279ec683a
commit 6978503235
3 changed files with 60 additions and 23 deletions

View file

@ -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