summaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-10-17 23:27:17 +1000
committerNick Coghlan <ncoghlan@gmail.com>2013-10-17 23:27:17 +1000
commita0f074f398f235c2075d1f57b766ff3e59b6fb43 (patch)
tree7fd6415277a2f5250bc3c848b41434aaf0922a5a /Include/pythonrun.h
parent7d270ee05d7553aea1052cf7957358888ac8ad85 (diff)
downloadcpython-git-a0f074f398f235c2075d1f57b766ff3e59b6fb43.tar.gz
Issue #16129: Move Py_SetStandardStreamEncoding declaration
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 70c412be1b..4cc4dcd07a 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -28,6 +28,9 @@ PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
PyAPI_FUNC(void) Py_SetPythonHome(wchar_t *);
PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void);
+PyAPI_FUNC(int) Py_SetStandardStreamEncoding(const char *encoding,
+ const char *errors);
+
PyAPI_FUNC(void) Py_Initialize(void);
PyAPI_FUNC(void) Py_InitializeEx(int);
#ifndef Py_LIMITED_API
@@ -38,8 +41,6 @@ PyAPI_FUNC(int) Py_IsInitialized(void);
PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
-PyAPI_FUNC(int) Py_SetStandardStreamEncoding(const char *encoding, const char *errors);
-
#ifndef Py_LIMITED_API
PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *);