Apparently the code to forestall Tk eating events was too aggressive (Tk user input...
[python/dscho.git] / Include / fileobject.h
blobaefeffec4e67fb77ee8ffc9bf2acfcc06b9ec036
2 /* File object interface */
4 #ifndef Py_FILEOBJECT_H
5 #define Py_FILEOBJECT_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 extern DL_IMPORT(PyTypeObject) PyFile_Type;
12 #define PyFile_Check(op) ((op)->ob_type == &PyFile_Type)
14 extern DL_IMPORT(PyObject *) PyFile_FromString(char *, char *);
15 extern DL_IMPORT(void) PyFile_SetBufSize(PyObject *, int);
16 extern DL_IMPORT(PyObject *) PyFile_FromFile(FILE *, char *, char *,
17 int (*)(FILE *));
18 extern DL_IMPORT(FILE *) PyFile_AsFile(PyObject *);
19 extern DL_IMPORT(PyObject *) PyFile_Name(PyObject *);
20 extern DL_IMPORT(PyObject *) PyFile_GetLine(PyObject *, int);
21 extern DL_IMPORT(int) PyFile_WriteObject(PyObject *, PyObject *, int);
22 extern DL_IMPORT(int) PyFile_SoftSpace(PyObject *, int);
23 extern DL_IMPORT(int) PyFile_WriteString(char *, PyObject *);
24 extern DL_IMPORT(int) PyObject_AsFileDescriptor(PyObject *);
26 #ifdef __cplusplus
28 #endif
29 #endif /* !Py_FILEOBJECT_H */