| OLD | NEW |
| 1 /* | 1 /* |
| 2 ********************************************************************** | 2 ********************************************************************** |
| 3 * Copyright (C) 1999-2006, International Business Machines | 3 * Copyright (C) 1999-2006,2008 International Business Machines |
| 4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
| 5 ********************************************************************** | 5 ********************************************************************** |
| 6 * | 6 * |
| 7 * | 7 * |
| 8 * ucnv_bld.h: | 8 * ucnv_bld.h: |
| 9 * Contains internal data structure definitions | 9 * Contains internal data structure definitions |
| 10 * Created by Bertrand A. Damiba | 10 * Created by Bertrand A. Damiba |
| 11 * | 11 * |
| 12 * Change history: | 12 * Change history: |
| 13 * | 13 * |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 UChar UCharErrorBuffer[UCNV_ERROR_BUFFER_LENGTH]; /* unicode output from E
rror functions */ | 219 UChar UCharErrorBuffer[UCNV_ERROR_BUFFER_LENGTH]; /* unicode output from E
rror functions */ |
| 220 | 220 |
| 221 /* fields for conversion extension */ | 221 /* fields for conversion extension */ |
| 222 | 222 |
| 223 /* store previous UChars/chars to continue partial matches */ | 223 /* store previous UChars/chars to continue partial matches */ |
| 224 UChar32 preFromUFirstCP; /* >=0: partial match */ | 224 UChar32 preFromUFirstCP; /* >=0: partial match */ |
| 225 UChar preFromU[UCNV_EXT_MAX_UCHARS]; | 225 UChar preFromU[UCNV_EXT_MAX_UCHARS]; |
| 226 char preToU[UCNV_EXT_MAX_BYTES]; | 226 char preToU[UCNV_EXT_MAX_BYTES]; |
| 227 int8_t preFromULength, preToULength; /* negative: replay */ | 227 int8_t preFromULength, preToULength; /* negative: replay */ |
| 228 int8_t preToUFirstLength; /* length of first character */ | 228 int8_t preToUFirstLength; /* length of first character */ |
| 229 |
| 230 /* new fields for ICU 4.0 */ |
| 231 UConverterCallbackReason toUCallbackReason; /* (*fromCharErrorBehaviour) rea
son, set when error is detected */ |
| 229 }; | 232 }; |
| 230 | 233 |
| 231 U_CDECL_END /* end of UConverter */ | 234 U_CDECL_END /* end of UConverter */ |
| 232 | 235 |
| 233 #define CONVERTER_FILE_EXTENSION ".cnv" | 236 #define CONVERTER_FILE_EXTENSION ".cnv" |
| 234 | 237 |
| 235 | 238 |
| 236 /** | 239 /** |
| 237 * Return the number of all converter names. | 240 * Return the number of all converter names. |
| 238 * @param pErrorCode The error code | 241 * @param pErrorCode The error code |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 * @internal | 275 * @internal |
| 273 */ | 276 */ |
| 274 U_CAPI int32_t U_EXPORT2 | 277 U_CAPI int32_t U_EXPORT2 |
| 275 ucnv_swap(const UDataSwapper *ds, | 278 ucnv_swap(const UDataSwapper *ds, |
| 276 const void *inData, int32_t length, void *outData, | 279 const void *inData, int32_t length, void *outData, |
| 277 UErrorCode *pErrorCode); | 280 UErrorCode *pErrorCode); |
| 278 | 281 |
| 279 #endif | 282 #endif |
| 280 | 283 |
| 281 #endif /* _UCNV_BLD */ | 284 #endif /* _UCNV_BLD */ |
| OLD | NEW |