summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-04 19:36:28 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-06-04 19:36:28 +0000
commit33f123aa6818679e3b21e75ac4c3c6e4ca1fa025 (patch)
treebdde6d99b89ac36a61c9dfd5252dd48f591a307a /Include
parenta1ad64ce170c19087657c621e9109afa2c3f28b8 (diff)
downloadcpython-33f123aa6818679e3b21e75ac4c3c6e4ca1fa025.tar.gz
Patch #1359618: Speed-up charmap encoder.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 8c39cfe2d6..3177051a5b 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(