Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/c-api/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ The embedding application can steer the search by calling
inserted in front of the standard path. An application that requires total
control has to provide its own implementation of :c:func:`Py_GetPath`,
:c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, and
:c:func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`).
:c:func:`Py_GetProgramFullPath` (all defined in :file:`Python/pathconfig.c`).

.. index:: single: Py_IsInitialized()

Expand Down
3 changes: 3 additions & 0 deletions Include/internal/pycore_pathconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ PyAPI_DATA(wchar_t*) _Py_dll_path;

extern void _PyPathConfig_ClearGlobal(void);

#ifdef MS_WINDOWS
extern PyStatus _PyPathConfig_Calculate(
_PyPathConfig *pathconfig,
const PyConfig *config);
#endif

extern int _PyPathConfig_ComputeSysPath0(
const PyWideStringList *argv,
PyObject **path0);
Expand Down
Loading