Kaydet (Commit) b5503085 authored tarafından Georg Brandl's avatar Georg Brandl

Take PyUnicode_TransformDecimalToASCII out of the limited API.

üst 5ce0c6f2
...@@ -1231,10 +1231,12 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal( ...@@ -1231,10 +1231,12 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal(
Returns a new Unicode string on success, NULL on failure. Returns a new Unicode string on success, NULL on failure.
*/ */
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII( PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
Py_UNICODE *s, /* Unicode buffer */ Py_UNICODE *s, /* Unicode buffer */
Py_ssize_t length /* Number of Py_UNICODE chars to transform */ Py_ssize_t length /* Number of Py_UNICODE chars to transform */
); );
#endif
/* --- File system encoding ---------------------------------------------- */ /* --- File system encoding ---------------------------------------------- */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment