]> granicus.if.org Git - python/commit
Add _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() macros
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 14:48:13 +0000 (16:48 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 14:48:13 +0000 (16:48 +0200)
commite90fe6a8f4a6cc6504387a77720ef7d1316f8086
tree995e65be0ad601ad83c474339db8526326484f94
parent87ae0a2804d71b2452edf3536ebc09da7a9577a0
Add _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() macros

 * Rename existing _PyUnicode_UTF8() macro to PyUnicode_UTF8()
 * Rename existing _PyUnicode_UTF8_LENGTH() macro to PyUnicode_UTF8_LENGTH()
 * PyUnicode_UTF8() and PyUnicode_UTF8_LENGTH() are more strict
Objects/unicodeobject.c