summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-16 23:16:16 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-16 23:16:16 +0000
commitbd3b71a7bb5fcf80de1339fe71c85918a44fb7e3 (patch)
treeb7b26d0efad2e0c2ad59b5db9f1fd6e9f071f8d7 /Python/pythonrun.c
parent4e7ceabd43ad27956ac0014ce5ff16995fd5c03d (diff)
downloadcpython-bd3b71a7bb5fcf80de1339fe71c85918a44fb7e3.tar.gz
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions