diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-10-03 16:09:28 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-10-03 16:09:28 +0000 |
commit | e387a985e0257577a16fc168c6ebed7976de86df (patch) | |
tree | 786e66ba5c4c3bd9b72385c10352f506b9281e72 /Include | |
parent | d18ceab2c5abf6eaad1279c1f4234e8abcaee4c1 (diff) | |
download | cpython-e387a985e0257577a16fc168c6ebed7976de86df.tar.gz |
Issue #3187: Add sys.setfilesystemencoding.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/fileobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |