summaryrefslogtreecommitdiff
path: root/Include/methodobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-12-20 15:06:42 +0000
committerGuido van Rossum <guido@python.org>1990-12-20 15:06:42 +0000
commitbadc12f65168c9a664ee07e6d10b57aaded4caee (patch)
treee932e31cb9381f40b7c87c377638216c043b5cfc /Include/methodobject.h
parente0c000df2666787beacb844e3529ad148114e1bf (diff)
downloadcpython-badc12f65168c9a664ee07e6d10b57aaded4caee.tar.gz
"Compiling" version
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index b11ccd7788..9dd05b4da0 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -9,3 +9,10 @@ typedef object *(*method) FPROTO((object *, object *));
extern object *newmethodobject PROTO((char *, method, object *));
extern method getmethod PROTO((object *));
extern object *getself PROTO((object *));
+
+struct methodlist {
+ char *ml_name;
+ method ml_meth;
+};
+
+extern object *findmethod PROTO((struct methodlist *, object *, char *));