mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Mark _Py_char2wchar() input argument as constant
This commit is contained in:
parent
d449a8ad87
commit
5d1e3438cd
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
|||
PyMem_Free() to free the memory), or NULL on error (conversion error or
|
||||
memory error). */
|
||||
wchar_t*
|
||||
_Py_char2wchar(char* arg)
|
||||
_Py_char2wchar(const char* arg)
|
||||
{
|
||||
wchar_t *res;
|
||||
#ifdef HAVE_BROKEN_MBSTOWCS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue