Add "close" function parameter to newopenfileobject().

This commit is contained in:
Guido van Rossum 1991-06-07 13:57:38 +00:00
parent e24122f5e2
commit 65481401b1

View File

@ -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));