Commit 2ded55f7 authored by Benjamin Peterson's avatar Benjamin Peterson

Py_(Set|Get)PythonHome use wchar_t #6913

parent 225f1699
...@@ -366,14 +366,14 @@ Initialization, Finalization, and Threads ...@@ -366,14 +366,14 @@ Initialization, Finalization, and Threads
check w/ Guido. check w/ Guido.
.. cfunction:: void Py_SetPythonHome(char *home) .. cfunction:: void Py_SetPythonHome(wchar_t *home)
Set the default "home" directory, that is, the location of the standard Set the default "home" directory, that is, the location of the standard
Python libraries. The libraries are searched in Python libraries. The libraries are searched in
:file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`. :file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`.
.. cfunction:: char* Py_GetPythonHome() .. cfunction:: w_char* Py_GetPythonHome()
Return the default "home", that is, the value set by a previous call to Return the default "home", that is, the value set by a previous call to
:cfunc:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME` :cfunc:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment