cpython/Include/fileobject.h

10 lines
278 B
C
Raw Normal View History

1990-10-14 09:07:46 -03: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 *));