flushline and writestring can now return an error

This commit is contained in:
Guido van Rossum 1997-05-22 22:23:46 +00:00
parent f1e6354548
commit 745b8cff08
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ PyObject *PyEval_GetOwner Py_PROTO((void));
PyObject *PyEval_GetFrame Py_PROTO((void));
int PyEval_GetRestricted Py_PROTO((void));
void Py_FlushLine Py_PROTO((void));
int Py_FlushLine Py_PROTO((void));
int Py_AddPendingCall Py_PROTO((int (*func) Py_PROTO((ANY *)), ANY *arg));
int Py_MakePendingCalls Py_PROTO((void));

View File

@ -50,7 +50,7 @@ extern PyObject *PyFile_Name Py_PROTO((PyObject *));
extern PyObject *PyFile_GetLine Py_PROTO((PyObject *, int));
extern int PyFile_WriteObject Py_PROTO((PyObject *, PyObject *, int));
extern int PyFile_SoftSpace Py_PROTO((PyObject *, int));
extern void PyFile_WriteString Py_PROTO((char *, PyObject *));
extern int PyFile_WriteString Py_PROTO((char *, PyObject *));
#ifdef __cplusplus
}