summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/unicodeobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index abd286d..ad24066 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1231,10 +1231,12 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal(
Returns a new Unicode string on success, NULL on failure.
*/
+#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
Py_UNICODE *s, /* Unicode buffer */
Py_ssize_t length /* Number of Py_UNICODE chars to transform */
);
+#endif
/* --- File system encoding ---------------------------------------------- */