diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-16 23:16:16 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-16 23:16:16 (GMT) |
commit | 168e117e0a8825bc3ae0c08f0b08a33ac351a14f (patch) | |
tree | 8f9e0067a2d14a362844f891815791d9d41cfb79 /Tools | |
parent | 0a1b8cba90d467e85be87cd8b10b4d31caa8765a (diff) | |
download | cpython-168e117e0a8825bc3ae0c08f0b08a33ac351a14f.zip cpython-168e117e0a8825bc3ae0c08f0b08a33ac351a14f.tar.gz cpython-168e117e0a8825bc3ae0c08f0b08a33ac351a14f.tar.bz2 |
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 'Tools')
0 files changed, 0 insertions, 0 deletions