]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 01:02:42 +0000 (01:02 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 01:02:42 +0000 (01:02 +0000)
commitbeb4135b8c81e1dbbb841ecd7355ab5a09a3edd2
tree5477c04eae02035c7d3df9efb50f3a7fc6dd78a1
parentef12810f0c23a0c0e8b276e76d289f0f211ab5bb
PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*

All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the
prototype for the new function PyUnicode_AsWideCharString().
Doc/c-api/unicode.rst
Include/unicodeobject.h
Modules/_ctypes/callproc.c
Modules/_ctypes/cfield.c
Modules/_localemodule.c
Modules/_testcapimodule.c
Modules/timemodule.c
Objects/unicodeobject.c
Python/import.c