From 745b8cff08e105d1b612e48f3087127f7cdeecc1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 May 1997 22:23:46 +0000 Subject: flushline and writestring can now return an error --- Include/ceval.h | 2 +- Include/fileobject.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/ceval.h b/Include/ceval.h index 64de60a..68c5977 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -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)); diff --git a/Include/fileobject.h b/Include/fileobject.h index 3a3bf7a..d5e7b8c 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -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 } -- cgit v0.12