diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-10-03 16:09:28 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-10-03 16:09:28 (GMT) |
commit | 04dc25c53728f5c2fe66d9e66af67da0c9b8959d (patch) | |
tree | 89a6a5bfc7567d3f5deba78bd96fedd2e167e2ce /Include/fileobject.h | |
parent | efb14a8857c57e446477ecb964b301b041527c50 (diff) | |
download | cpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.zip cpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.tar.gz cpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.tar.bz2 |
Issue #3187: Add sys.setfilesystemencoding.
Diffstat (limited to 'Include/fileobject.h')
-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 00ec9be..1570890 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 |