aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Include/pylifecycle.h
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/tools/python3/src/Include/pylifecycle.h
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Include/pylifecycle.h')
-rw-r--r--contrib/tools/python3/src/Include/pylifecycle.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/contrib/tools/python3/src/Include/pylifecycle.h b/contrib/tools/python3/src/Include/pylifecycle.h
index 783fcb455e..e59f4f51f1 100644
--- a/contrib/tools/python3/src/Include/pylifecycle.h
+++ b/contrib/tools/python3/src/Include/pylifecycle.h
@@ -27,24 +27,24 @@ PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
*/
PyAPI_FUNC(int) Py_AtExit(void (*func)(void));
-PyAPI_FUNC(void) _Py_NO_RETURN Py_Exit(int);
+PyAPI_FUNC(void) _Py_NO_RETURN Py_Exit(int);
/* Bootstrap __main__ (defined in Modules/main.c) */
PyAPI_FUNC(int) Py_Main(int argc, wchar_t **argv);
-PyAPI_FUNC(int) Py_FrozenMain(int argc, char **argv);
-
-PyAPI_FUNC(int) Py_BytesMain(int argc, char **argv);
-
-/* In pathconfig.c */
-PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
-PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
-
-PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
-PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void);
-
+PyAPI_FUNC(int) Py_FrozenMain(int argc, char **argv);
+
+PyAPI_FUNC(int) Py_BytesMain(int argc, char **argv);
+
+/* In pathconfig.c */
+PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
+PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
+
+PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
+PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void);
+
PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void);
-
+
PyAPI_FUNC(wchar_t *) Py_GetPrefix(void);
PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void);
PyAPI_FUNC(wchar_t *) Py_GetPath(void);
@@ -66,9 +66,9 @@ PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
#ifndef Py_LIMITED_API
-# define Py_CPYTHON_PYLIFECYCLE_H
-# include "cpython/pylifecycle.h"
-# undef Py_CPYTHON_PYLIFECYCLE_H
+# define Py_CPYTHON_PYLIFECYCLE_H
+# include "cpython/pylifecycle.h"
+# undef Py_CPYTHON_PYLIFECYCLE_H
#endif
#ifdef __cplusplus