]> granicus.if.org Git - python/commitdiff
flushline and writestring can now return an error
authorGuido van Rossum <guido@python.org>
Thu, 22 May 1997 22:23:46 +0000 (22:23 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 May 1997 22:23:46 +0000 (22:23 +0000)
Include/ceval.h
Include/fileobject.h

index 64de60ac728f6b47e225df3e31df094c8c716a91..68c59774e9d4418d825147254342c179d8d22e07 100644 (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));
index 3a3bf7aae07894adc66a1ca9aed22a858a5c94b9..d5e7b8c9be81450f11639d10b650315588fece3d 100644 (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
 }