mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Add "close" function parameter to newopenfileobject().
This commit is contained in:
parent
e24122f5e2
commit
65481401b1
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user