Add an optional size argument to _Py_char2wchar()
_Py_char2wchar() callers usually need the result size in characters. Since it's trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add an option to get it.
V
Victor Stinner committed
168e117e0a8825bc3ae0c08f0b08a33ac351a14f
Parent: 0a1b8cb