diff Include/pythonrun.h @ 86400:537e13ca7683

Issue #16129: Move Py_SetStandardStreamEncoding declaration
author Nick Coghlan <ncoghlan@gmail.com>
date Thu, 17 Oct 2013 23:27:17 +1000
parents 9cd88b39ef62
children 12d7b6171b28
line wrap: on
line diff
--- a/Include/pythonrun.h	Thu Oct 17 22:35:35 2013 +1000
+++ b/Include/pythonrun.h	Thu Oct 17 23:27:17 2013 +1000
@@ -28,6 +28,9 @@
 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(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 *);