backport-for-oracledb.patch 550 B

1234567891011
  1. --- contrib/tools/cython/Cython/Includes/cpython/unicode.pxd (index)
  2. +++ contrib/tools/cython/Cython/Includes/cpython/unicode.pxd (working tree)
  3. @@ -570,3 +570,8 @@ cdef extern from *:
  4. int Py_UCS4_strncmp(const Py_UCS4 *s1, const Py_UCS4 *s2, size_t n)
  5. Py_UCS4* Py_UCS4_strchr(const Py_UCS4 *s, Py_UCS4 c)
  6. Py_UCS4* Py_UCS4_strrchr(const Py_UCS4 *s, Py_UCS4 c)
  7. +
  8. +# Backport from Cython 3
  9. + Py_UCS4 PyUnicode_READ(int kind, void *data, Py_ssize_t index)
  10. + unsigned int PyUnicode_KIND(object o)
  11. + void *PyUnicode_DATA(object o)