Replace PyUnicodeObject type by PyObject
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void*
* Remove now useless casts to PyObject*
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index dc3bad7..8e29f34 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -2000,9 +2000,8 @@
#endif /* Py_LIMITED_API */
#if defined(Py_DEBUG) && !defined(Py_LIMITED_API)
-/* FIXME: use PyObject* type for op */
PyAPI_FUNC(int) _PyUnicode_CheckConsistency(
- void *op,
+ PyObject *op,
int check_content);
#endif