summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-14 05:21:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-06-14 05:21:04 (GMT)
commitd825143be1118ba7e320661b3a71d8822ae5d600 (patch)
treea74764df14558614917b7f4d9abd56c44ffd5623 /Include/unicodeobject.h
parent6ce9fe880be7416d88e6d800528db4079db6d6b1 (diff)
downloadcpython-d825143be1118ba7e320661b3a71d8822ae5d600.zip
cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.gz
cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.bz2
Patch #1455898: Incremental mode for "mbcs" codec.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h7
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 */
);