Py_(Set|Get)PythonHome use wchar_t #6913

This commit is contained in:
Benjamin Peterson 2009-09-15 03:34:15 +00:00
parent 225f169933
commit 2ded55f79b

View file

@ -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`