summaryrefslogtreecommitdiffstats
path: root/Include/methodobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-26 22:58:48 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-26 22:58:48 (GMT)
commit69785032358a007fbcf56e62c0acea59db79431f (patch)
treed7bf81011802f1ede2eaacfd39788fc7598cc96b /Include/methodobject.h
parent5279ec683a6cddcccb494c4343b9a4ed9794683d (diff)
downloadcpython-69785032358a007fbcf56e62c0acea59db79431f.zip
cpython-69785032358a007fbcf56e62c0acea59db79431f.tar.gz
cpython-69785032358a007fbcf56e62c0acea59db79431f.tar.bz2
added findmethodinchain and methodchain data types
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h8
1 files changed, 8 insertions, 0 deletions
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 @@ 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