diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 +0000 |
commit | 1d369fe7b8512390f940826c10c1c37322ddced8 (patch) | |
tree | 83a10b85b24ac3fba20c9d73f83edaafbc37ef19 /Include | |
parent | 901d43f09ff563f2db50c31516d0d422fc8cd60d (diff) | |
download | cpython-1d369fe7b8512390f940826c10c1c37322ddced8.tar.gz |
Patch #1455898: Incremental mode for "mbcs" codec.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 3177051a5b..c7e07a86ef 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -938,6 +938,13 @@ PyAPI_FUNC(PyObject*) PyUnicode_DecodeMBCS( const char *errors /* error handling */ ); +PyAPI_FUNC(PyObject*) PyUnicode_DecodeMBCSStateful( + const char *string, /* MBCS encoded string */ + Py_ssize_t length, /* size of string */ + const char *errors, /* error handling */ + Py_ssize_t *consumed /* bytes consumed */ + ); + PyAPI_FUNC(PyObject*) PyUnicode_AsMBCSString( PyObject *unicode /* Unicode object */ ); |