diff options
author | Guido van Rossum <guido@python.org> | 1991-06-07 13:57:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-07 13:57:38 (GMT) |
commit | 65481401b18a78bbad41f712300047ed19355d38 (patch) | |
tree | 20c11c1c392923f3af7b38852b2e828486978380 /Include | |
parent | e24122f5e2ea0aa71b53aadeca555be4be5ff1f5 (diff) | |
download | cpython-65481401b18a78bbad41f712300047ed19355d38.zip cpython-65481401b18a78bbad41f712300047ed19355d38.tar.gz cpython-65481401b18a78bbad41f712300047ed19355d38.tar.bz2 |
Add "close" function parameter to newopenfileobject().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/fileobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h index beaebe9..52a3765 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -29,6 +29,7 @@ extern typeobject Filetype; #define is_fileobject(op) ((op)->ob_type == &Filetype) extern object *newfileobject PROTO((char *, char *)); -extern object *newopenfileobject PROTO((FILE *, char *, char *)); +extern object *newopenfileobject + PROTO((FILE *, char *, char *, int (*)FPROTO((FILE *)))); extern FILE *getfilefile PROTO((object *)); extern object *filegetline PROTO((object *, int)); |