Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ded55f

Browse files
committed
Py_(Set|Get)PythonHome use wchar_t #6913
1 parent 225f169 commit 2ded55f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/c-api/init.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,14 @@ Initialization, Finalization, and Threads
366366
check w/ Guido.
367367
368368
369-
.. cfunction:: void Py_SetPythonHome(char *home)
369+
.. cfunction:: void Py_SetPythonHome(wchar_t *home)
370370

371371
Set the default "home" directory, that is, the location of the standard
372372
Python libraries. The libraries are searched in
373373
:file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`.
374374

375375

376-
.. cfunction:: char* Py_GetPythonHome()
376+
.. cfunction:: w_char* Py_GetPythonHome()
377377

378378
Return the default "home", that is, the value set by a previous call to
379379
:cfunc:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME`

0 commit comments

Comments
 (0)