summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-05 11:40:48 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-05 11:40:48 (GMT)
commitb550308597ba7cbc7f564f6bfcabee4673e906bd (patch)
tree7a4c888c0ed2573569c9b67c1a6ecf63aa0a3418 /Include
parent5ce0c6f2d15f827fd6a7616d738ba854d3fe6630 (diff)
downloadcpython-b550308597ba7cbc7f564f6bfcabee4673e906bd.zip
cpython-b550308597ba7cbc7f564f6bfcabee4673e906bd.tar.gz
cpython-b550308597ba7cbc7f564f6bfcabee4673e906bd.tar.bz2
Take PyUnicode_TransformDecimalToASCII out of the limited API.
Diffstat (limited to 'Include')
-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 ---------------------------------------------- */