_Py_wrealpath() requires the size of the output buffer

This commit is contained in:
Victor Stinner 2010-10-07 22:29:53 +00:00
parent a4a759515e
commit 015f4d87ab
3 changed files with 6 additions and 4 deletions

View file

@ -41,7 +41,8 @@ PyAPI_FUNC(int) _Py_wreadlink(
#ifdef HAVE_REALPATH
PyAPI_FUNC(wchar_t*) _Py_wrealpath(
const wchar_t *path,
wchar_t *resolved_path);
wchar_t *resolved_path,
size_t resolved_path_size);
#endif
PyAPI_FUNC(wchar_t*) _Py_wgetcwd(