summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-10-03 16:09:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-10-03 16:09:28 (GMT)
commit04dc25c53728f5c2fe66d9e66af67da0c9b8959d (patch)
tree89a6a5bfc7567d3f5deba78bd96fedd2e167e2ce /Include
parentefb14a8857c57e446477ecb964b301b041527c50 (diff)
downloadcpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.zip
cpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.tar.gz
cpython-04dc25c53728f5c2fe66d9e66af67da0c9b8959d.tar.bz2
Issue #3187: Add sys.setfilesystemencoding.
Diffstat (limited to 'Include')
-rw-r--r--Include/fileobject.h3
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