mirror of
https://github.com/python/cpython.git
synced 2024-11-28 16:45:42 +01:00
10 lines
278 B
C
10 lines
278 B
C
|
/* File object interface */
|
||
|
|
||
|
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 FILE *getfilefile PROTO((object *));
|