From: Guido van Rossum Date: Fri, 7 Jun 1991 13:57:38 +0000 (+0000) Subject: Add "close" function parameter to newopenfileobject(). X-Git-Tag: v0.9.8~905 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65481401b18a78bbad41f712300047ed19355d38;p=thirdparty%2FPython%2Fcpython.git Add "close" function parameter to newopenfileobject(). --- diff --git a/Include/fileobject.h b/Include/fileobject.h index beaebe983af6..52a3765b89a4 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));