diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 (GMT) |
commit | d825143be1118ba7e320661b3a71d8822ae5d600 (patch) | |
tree | a74764df14558614917b7f4d9abd56c44ffd5623 /Include | |
parent | 6ce9fe880be7416d88e6d800528db4079db6d6b1 (diff) | |
download | cpython-d825143be1118ba7e320661b3a71d8822ae5d600.zip cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.gz cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.bz2 |
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 3177051..c7e07a8 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 */ ); |