cpython/Include/fileobject.h

10 lines
278 B
C
Raw Normal View History

1990-10-14 12:07:46 +00:00
/* 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 *));