diff options
author | Guido van Rossum <guido@python.org> | 1991-12-16 13:07:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-16 13:07:24 (GMT) |
commit | c06022966f58b7130e0a8b7150d1955865c84dc8 (patch) | |
tree | 61b860da9f4a15dd879cc7bc1cd0395108e1fc92 /Include | |
parent | 3ddee714d1d4473f8fa04a6d8356d3eafb695a50 (diff) | |
download | cpython-c06022966f58b7130e0a8b7150d1955865c84dc8.zip cpython-c06022966f58b7130e0a8b7150d1955865c84dc8.tar.gz cpython-c06022966f58b7130e0a8b7150d1955865c84dc8.tar.bz2 |
Add "varargs" attribute.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/methodobject.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index 262208d..e8d795e 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -30,13 +30,15 @@ extern typeobject Methodtype; typedef object *(*method) FPROTO((object *, object *)); -extern object *newmethodobject PROTO((char *, method, object *)); +extern object *newmethodobject PROTO((char *, method, object *, int)); extern method getmethod PROTO((object *)); extern object *getself PROTO((object *)); +extern int getvarargs PROTO((object *)); struct methodlist { - char *ml_name; - method ml_meth; + char *ml_name; + method ml_meth; + int ml_varargs; }; extern object *findmethod PROTO((struct methodlist *, object *, char *)); |