diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-11-02 17:02:51 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-11-02 17:02:51 (GMT) |
commit | 23e275b3ad409ccc9602d1c061726af0926fea51 (patch) | |
tree | 50777a7f493315df700761e8af8b293360ef1ae9 /Include | |
parent | 9e8166843c223dbb9813462b95d39995702d4e5a (diff) | |
download | cpython-23e275b3ad409ccc9602d1c061726af0926fea51.zip cpython-23e275b3ad409ccc9602d1c061726af0926fea51.tar.gz cpython-23e275b3ad409ccc9602d1c061726af0926fea51.tar.bz2 |
Port UCS1 and charmap codecs to new API.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 6e613eb..dc3bad7 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1425,6 +1425,12 @@ PyAPI_FUNC(PyObject*) PyUnicode_EncodeCharmap( (unicode ordinal -> char ordinal) */ const char *errors /* error handling */ ); +PyAPI_FUNC(PyObject*) _PyUnicode_EncodeCharmap( + PyObject *unicode, /* Unicode object */ + PyObject *mapping, /* character mapping + (unicode ordinal -> char ordinal) */ + const char *errors /* error handling */ + ); #endif /* Translate a Py_UNICODE buffer of the given length by applying a |