mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Replace PyUnicodeObject type by PyObject
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject*
This commit is contained in:
parent
76a31a6bff
commit
7931d9a951
3 changed files with 133 additions and 148 deletions
|
@ -2000,9 +2000,8 @@ PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy(
|
|||
#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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue