-
-
Save ZIM555/506916ccddfdfff56165 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/icu4c/source/common/ucnv.c b/icu4c/source/common/ucnv.c | |
index 5cf4d15..3701f30 100644 | |
--- a/icu4c/source/common/ucnv.c | |
+++ b/icu4c/source/common/ucnv.c | |
@@ -2914,6 +2914,75 @@ ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status){ | |
return FALSE; | |
} | |
} | |
+ | |
+U_CAPI void U_EXPORT2 ucnv_setToUCallBack_48 (UConverter * converter, | |
+ UConverterToUCallback newAction, | |
+ const void* newContext, | |
+ UConverterToUCallback *oldAction, | |
+ const void** oldContext, | |
+ UErrorCode * err) { | |
+ ucnv_setToUCallBack(converter, newAction, newContext, | |
+ oldAction, oldContext, err); | |
+} | |
+ | |
+U_CAPI void U_EXPORT2 ucnv_close_48 (UConverter * converter) { | |
+ ucnv_close (converter); | |
+} | |
+ | |
+U_CAPI void U_EXPORT2 | |
+ucnv_setFromUCallBack_48 (UConverter * converter, | |
+ UConverterFromUCallback newAction, | |
+ const void* newContext, | |
+ UConverterFromUCallback *oldAction, | |
+ const void** oldContext, | |
+ UErrorCode * err) { | |
+ | |
+ ucnv_setFromUCallBack(converter, newAction, newContext, oldAction, | |
+ oldContext, err); | |
+} | |
+ | |
+U_CAPI void U_EXPORT2 | |
+ucnv_convertEx_48 (UConverter *targetCnv, UConverter *sourceCnv, | |
+ char **target, const char *targetLimit, | |
+ const char **source, const char *sourceLimit, | |
+ UChar *pivotStart, UChar **pivotSource, | |
+ UChar **pivotTarget, const UChar *pivotLimit, | |
+ UBool reset, UBool flush, | |
+ UErrorCode *pErrorCode) { | |
+ ucnv_convertEx(targetCnv, sourceCnv, target, targetLimit, source, | |
+ sourceLimit, pivotStart, pivotSource, | |
+ pivotTarget, pivotLimit, reset, flush, | |
+ pErrorCode); | |
+} | |
+ | |
+U_CAPI UConverter* U_EXPORT2 | |
+ucnv_open_48 (const char *name, | |
+ UErrorCode * err) { | |
+ return ucnv_open(name, err); | |
+} | |
+ | |
+U_STABLE void U_EXPORT2 UCNV_FROM_U_CALLBACK_STOP_48 ( | |
+ const void *context, | |
+ UConverterFromUnicodeArgs *fromUArgs, | |
+ const UChar* codeUnits, | |
+ int32_t length, | |
+ UChar32 codePoint, | |
+ UConverterCallbackReason reason, | |
+ UErrorCode * err) { | |
+ return UCNV_FROM_U_CALLBACK_STOP(context, fromUArgs, codeUnits, | |
+ length, codePoint, reason, err); | |
+} | |
+ | |
+U_STABLE void U_EXPORT2 UCNV_TO_U_CALLBACK_STOP_48 ( | |
+ const void *context, | |
+ UConverterToUnicodeArgs *toUArgs, | |
+ const char* codeUnits, | |
+ int32_t length, | |
+ UConverterCallbackReason reason, | |
+ UErrorCode * err) { | |
+ return UCNV_TO_U_CALLBACK_STOP(context, toUArgs, codeUnits, length, | |
+ reason, err); | |
+} | |
#endif | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment