summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-04 19:36:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-06-04 19:36:28 (GMT)
commit3f767795f6784ca6bf797b055be67fce5bf2fa06 (patch)
tree851eea9180023026ef3ef2319fae871a50bb479c /Include/unicodeobject.h
parent67966bed72dc175938c4b971145c4746ac993f19 (diff)
downloadcpython-3f767795f6784ca6bf797b055be67fce5bf2fa06.zip
cpython-3f767795f6784ca6bf797b055be67fce5bf2fa06.tar.gz
cpython-3f767795f6784ca6bf797b055be67fce5bf2fa06.tar.bz2
Patch #1359618: Speed-up charmap encoder.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 8c39cfe..3177051 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -650,6 +650,11 @@ PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
const char *errors /* error handling */
);
+PyAPI_FUNC(PyObject*) PyUnicode_BuildEncodingMap(
+ PyObject* string /* 256 character map */
+ );
+
+
/* --- UTF-7 Codecs ------------------------------------------------------- */
PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF7(