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().
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index f206895..39a6b2e 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -581,7 +581,7 @@
MemoryError. */
PyAPI_FUNC(wchar_t*) PyUnicode_AsWideCharString(
- PyUnicodeObject *unicode, /* Unicode object */
+ PyObject *unicode, /* Unicode object */
Py_ssize_t *size /* number of characters of the result */
);