From 04dc25c53728f5c2fe66d9e66af67da0c9b8959d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 3 Oct 2008 16:09:28 +0000 Subject: Issue #3187: Add sys.setfilesystemencoding. --- Include/fileobject.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Include/fileobject.h') diff --git a/Include/fileobject.h b/Include/fileobject.h index 00ec9befed..157089036f 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -20,7 +20,8 @@ PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); If non-NULL, this is different than the default encoding for strings */ PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; -PyAPI_DATA(const int) Py_HasFileSystemDefaultEncoding; +PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding; +PyAPI_FUNC(int) _Py_SetFileSystemEncoding(PyObject *); /* Internal API -- cgit v1.2.1