| OLD | NEW |
| 1 /* | 1 /* |
| 2 ******************************************************************************* | 2 ******************************************************************************* |
| 3 * | 3 * |
| 4 * Copyright (C) 2003-2005, International Business Machines | 4 * Copyright (C) 2003-2014, International Business Machines |
| 5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
| 6 * | 6 * |
| 7 ******************************************************************************* | 7 ******************************************************************************* |
| 8 * file name: udataswp.h | 8 * file name: udataswp.h |
| 9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
| 10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
| 11 * indentation:4 | 11 * indentation:4 |
| 12 * | 12 * |
| 13 * created on: 2003jun05 | 13 * created on: 2003jun05 |
| 14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 UDataWriteUInt16 *writeUInt16; | 171 UDataWriteUInt16 *writeUInt16; |
| 172 /** Convert one uint32_t from platform to input endianness. @internal ICU 2.
8 */ | 172 /** Convert one uint32_t from platform to input endianness. @internal ICU 2.
8 */ |
| 173 UDataWriteUInt32 *writeUInt32; | 173 UDataWriteUInt32 *writeUInt32; |
| 174 | 174 |
| 175 /* basic functions for data transformations */ | 175 /* basic functions for data transformations */ |
| 176 | 176 |
| 177 /** Transform an array of 16-bit integers. @internal ICU 2.8 */ | 177 /** Transform an array of 16-bit integers. @internal ICU 2.8 */ |
| 178 UDataSwapFn *swapArray16; | 178 UDataSwapFn *swapArray16; |
| 179 /** Transform an array of 32-bit integers. @internal ICU 2.8 */ | 179 /** Transform an array of 32-bit integers. @internal ICU 2.8 */ |
| 180 UDataSwapFn *swapArray32; | 180 UDataSwapFn *swapArray32; |
| 181 /** Transform an array of 64-bit integers. @internal ICU 53 */ |
| 182 UDataSwapFn *swapArray64; |
| 181 /** Transform an invariant-character string. @internal ICU 2.8 */ | 183 /** Transform an invariant-character string. @internal ICU 2.8 */ |
| 182 UDataSwapFn *swapInvChars; | 184 UDataSwapFn *swapInvChars; |
| 183 | 185 |
| 184 /** | 186 /** |
| 185 * Function for message output when an error occurs during data swapping. | 187 * Function for message output when an error occurs during data swapping. |
| 186 * Can be NULL. | 188 * Can be NULL. |
| 187 * @internal ICU 2.8 | 189 * @internal ICU 2.8 |
| 188 */ | 190 */ |
| 189 UDataPrintError *printError; | 191 UDataPrintError *printError; |
| 190 /** Context pointer for printError. @internal ICU 2.8 */ | 192 /** Context pointer for printError. @internal ICU 2.8 */ |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 U_CAPI UDataMemory * U_EXPORT2 | 342 U_CAPI UDataMemory * U_EXPORT2 |
| 341 udata_openSwap(const char *path, const char *type, const char *name, | 343 udata_openSwap(const char *path, const char *type, const char *name, |
| 342 UDataMemoryIsAcceptable *isAcceptable, void *isAcceptableContext, | 344 UDataMemoryIsAcceptable *isAcceptable, void *isAcceptableContext, |
| 343 UDataSwapFn *swap, | 345 UDataSwapFn *swap, |
| 344 UDataPrintError *printError, void *printErrorContext, | 346 UDataPrintError *printError, void *printErrorContext, |
| 345 UErrorCode *pErrorCode); | 347 UErrorCode *pErrorCode); |
| 346 | 348 |
| 347 #endif | 349 #endif |
| 348 | 350 |
| 349 #endif | 351 #endif |
| OLD | NEW |