Logo Search packages:      
Sourcecode: icu version File versions

typedef UConverterToUnicodeArgs const char int32_t UConverterCallbackReason UErrorCode *typedef void(U_EXPORT2 *UConverterFromUCallback)(const void *context ( U_EXPORT2 *  UConverterFromUCallback  )  const

Function pointer for error callback in the codepage to unicode direction. Called when an error has occured in conversion to unicode, or on open/close of the callback (see reason).

Parameters:
context Pointer to the callback's private data
args Information about the conversion in progress
codePoints Points to 'length' bytes of the concerned codepage sequence
length Size (in bytes) of the concerned codepage sequence
reason Defines the reason the callback was invoked
See also:
ucnv_setToUCallBack

UConverterToUnicodeArgs

Function pointer for error callback in the unicode to codepage direction. Called when an error has occured in conversion from unicode, or on open/close of the callback (see reason).
Parameters:
context Pointer to the callback's private data
args Information about the conversion in progress
codeUnits Points to 'length' UChars of the concerned Unicode sequence
length Size (in bytes) of the concerned codepage sequence
codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
reason Defines the reason the callback was invoked
See also:
ucnv_setFromUCallBack


Generated by  Doxygen 1.6.0   Back to index