Changeset 388 for python/vendor/current/Include/codecs.h
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Include/codecs.h
r2 r388 134 134 /* Unicode encoding error handling callback registry API */ 135 135 136 /* Register the error handling callback function error under the name136 /* Register the error handling callback function error under the given 137 137 name. This function will be called by the codec when it encounters 138 138 unencodable characters/undecodable bytes and doesn't know the … … 142 142 PyAPI_FUNC(int) PyCodec_RegisterError(const char *name, PyObject *error); 143 143 144 /* Lookup the error handling callback function registered under the 145 name error. As a special case NULL can be passed, in which case144 /* Lookup the error handling callback function registered under the given 145 name. As a special case NULL can be passed, in which case 146 146 the error handling callback for "strict" will be returned. */ 147 147 PyAPI_FUNC(PyObject *) PyCodec_LookupError(const char *name); … … 153 153 PyAPI_FUNC(PyObject *) PyCodec_IgnoreErrors(PyObject *exc); 154 154 155 /* replace the unicode e rror with ? or U+FFFD */155 /* replace the unicode encode error with ? or U+FFFD */ 156 156 PyAPI_FUNC(PyObject *) PyCodec_ReplaceErrors(PyObject *exc); 157 157
Note:
See TracChangeset
for help on using the changeset viewer.