mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Add "close" function parameter to newopenfileobject().
This commit is contained in:
parent
e24122f5e2
commit
65481401b1
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ extern typeobject Filetype;
|
||||||
#define is_fileobject(op) ((op)->ob_type == &Filetype)
|
#define is_fileobject(op) ((op)->ob_type == &Filetype)
|
||||||
|
|
||||||
extern object *newfileobject PROTO((char *, char *));
|
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 FILE *getfilefile PROTO((object *));
|
||||||
extern object *filegetline PROTO((object *, int));
|
extern object *filegetline PROTO((object *, int));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue