2000-06-28 19:43:17 +00:00
|
|
|
/*
|
|
|
|
**********************************************************************
|
|
|
|
* Copyright (C) 2000, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
**********************************************************************
|
|
|
|
* ucnv_cb.c:
|
|
|
|
* External APIs for the ICU's codeset conversion library
|
|
|
|
* Helena Shih
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
*
|
|
|
|
* Date Name Description
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Character Conversion C API
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "unicode/ucnv_cb.h"
|
|
|
|
|
2000-06-30 17:38:47 +00:00
|
|
|
/* need to update the offsets when the target moves. */
|
|
|
|
/* Note: Recursion may occur in the cb functions, be sure to update the offsets correctly
|
|
|
|
if you don't use ucnv_cbXXX functions. Make sure you don't use the same callback within
|
|
|
|
the same call stack if the complexity arises. */
|
2000-06-28 19:43:17 +00:00
|
|
|
void ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args,
|
2000-06-30 17:38:47 +00:00
|
|
|
const char* source,
|
2000-06-28 19:43:17 +00:00
|
|
|
int32_t length,
|
2000-06-30 17:38:47 +00:00
|
|
|
int32_t offsetIndex,
|
2000-06-28 19:43:17 +00:00
|
|
|
UErrorCode * err)
|
|
|
|
{
|
2000-06-30 17:38:47 +00:00
|
|
|
}
|
2000-06-28 19:43:17 +00:00
|
|
|
|
2000-06-30 17:38:47 +00:00
|
|
|
void ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args,
|
|
|
|
const UChar* source,
|
|
|
|
int32_t length,
|
|
|
|
int32_t offsetIndex,
|
|
|
|
UErrorCode * err)
|
|
|
|
{
|
2000-06-28 19:43:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args,
|
2000-06-30 17:38:47 +00:00
|
|
|
int32_t offsetIndex,
|
2000-06-28 19:43:17 +00:00
|
|
|
UErrorCode * err)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void ucnv_cbToUWriteUChars (UConverterToUnicodeArgs *args,
|
2000-06-30 17:38:47 +00:00
|
|
|
UChar* source,
|
2000-06-28 19:43:17 +00:00
|
|
|
int32_t length,
|
2000-06-30 17:38:47 +00:00
|
|
|
int32_t offsetIndex,
|
2000-06-28 19:43:17 +00:00
|
|
|
UErrorCode * err)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void ucnv_cbToUWriteSub (UConverterToUnicodeArgs *args,
|
2000-06-30 17:38:47 +00:00
|
|
|
int32_t offsetIndex,
|
2000-06-28 19:43:17 +00:00
|
|
|
UErrorCode * err)
|
|
|
|
{
|
|
|
|
}
|