mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
**********************************************************************
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
* converter, you can get its properties, set options, convert your data and
|
||||
* close the converter.</p>
|
||||
*
|
||||
* <p>Since many software programs recogize different converter names for
|
||||
* <p>Since many software programs recognize different converter names for
|
||||
* different types of converters, there are other functions in this API to
|
||||
* iterate over the converter aliases. The functions {@link ucnv_getAvailableName() },
|
||||
* {@link ucnv_getAlias() } and {@link ucnv_getStandardName() } are some of the
|
||||
|
|
@ -53,19 +53,18 @@
|
|||
#include "unicode/uenum.h"
|
||||
#include "unicode/localpointer.h"
|
||||
|
||||
#ifndef __USET_H__
|
||||
#if !defined(USET_DEFINED) && !defined(U_IN_DOXYGEN)
|
||||
|
||||
#define USET_DEFINED
|
||||
|
||||
/**
|
||||
* USet is the C API type for Unicode sets.
|
||||
* It is forward-declared here to avoid including the header file if related
|
||||
* USet is the C API type corresponding to C++ class UnicodeSet.
|
||||
* It is forward-declared here to avoid including unicode/uset.h file if related
|
||||
* conversion APIs are not used.
|
||||
* See unicode/uset.h
|
||||
*
|
||||
* @see ucnv_getUnicodeSet
|
||||
* @stable ICU 2.6
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
struct USet;
|
||||
/** @stable ICU 2.6 */
|
||||
typedef struct USet USet;
|
||||
|
||||
#endif
|
||||
|
|
@ -184,7 +183,7 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* 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).
|
||||
* Called when an error has occurred in conversion to unicode, or on open/close of the callback (see reason).
|
||||
* @param context Pointer to the callback's private data
|
||||
* @param args Information about the conversion in progress
|
||||
* @param codeUnits Points to 'length' bytes of the concerned codepage sequence
|
||||
|
|
@ -207,7 +206,7 @@ typedef void (U_EXPORT2 *UConverterToUCallback) (
|
|||
|
||||
/**
|
||||
* 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).
|
||||
* Called when an error has occurred in conversion from unicode, or on open/close of the callback (see reason).
|
||||
* @param context Pointer to the callback's private data
|
||||
* @param args Information about the conversion in progress
|
||||
* @param codeUnits Points to 'length' UChars of the concerned Unicode sequence
|
||||
|
|
@ -353,7 +352,7 @@ ucnv_compareNames(const char *name1, const char *name2);
|
|||
* ucnv_getAlias for a complete list that is available.
|
||||
* If this parameter is NULL, the default converter will be used.
|
||||
* @param err outgoing error status <TT>U_MEMORY_ALLOCATION_ERROR, U_FILE_ACCESS_ERROR</TT>
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an error occured
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an error occurred
|
||||
* @see ucnv_openU
|
||||
* @see ucnv_openCCSID
|
||||
* @see ucnv_getAvailableName
|
||||
|
|
@ -386,7 +385,7 @@ ucnv_open(const char *converterName, UErrorCode *err);
|
|||
* @param err outgoing error status <TT>U_MEMORY_ALLOCATION_ERROR,
|
||||
* U_FILE_ACCESS_ERROR</TT>
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an
|
||||
* error occured
|
||||
* error occurred
|
||||
* @see ucnv_open
|
||||
* @see ucnv_openCCSID
|
||||
* @see ucnv_close
|
||||
|
|
@ -452,7 +451,7 @@ ucnv_openU(const UChar *name,
|
|||
* @param platform the platform in which the codepage number exists
|
||||
* @param err error status <TT>U_MEMORY_ALLOCATION_ERROR, U_FILE_ACCESS_ERROR</TT>
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an error
|
||||
* occured.
|
||||
* occurred.
|
||||
* @see ucnv_open
|
||||
* @see ucnv_openU
|
||||
* @see ucnv_close
|
||||
|
|
@ -489,7 +488,7 @@ ucnv_openCCSID(int32_t codepage,
|
|||
* @param packageName name of the package (equivalent to 'path' in udata_open() call)
|
||||
* @param converterName name of the data item to be used, without suffix.
|
||||
* @param err outgoing error status <TT>U_MEMORY_ALLOCATION_ERROR, U_FILE_ACCESS_ERROR</TT>
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an error occured
|
||||
* @return the created Unicode converter object, or <TT>NULL</TT> if an error occurred
|
||||
* @see udata_open
|
||||
* @see ucnv_open
|
||||
* @see ucnv_safeClone
|
||||
|
|
@ -596,7 +595,7 @@ U_NAMESPACE_END
|
|||
* stateful, then subChars will be an empty string.
|
||||
*
|
||||
* @param converter the Unicode converter
|
||||
* @param subChars the subsitution characters
|
||||
* @param subChars the substitution characters
|
||||
* @param len on input the capacity of subChars, on output the number
|
||||
* of bytes copied to it
|
||||
* @param err the outgoing error status code.
|
||||
|
|
@ -832,7 +831,7 @@ ucnv_getMinCharSize(const UConverter *converter);
|
|||
* name will be filled in.
|
||||
*
|
||||
* @param converter the Unicode converter.
|
||||
* @param displayLocale is the specific Locale we want to localised for
|
||||
* @param displayLocale is the specific Locale we want to localized for
|
||||
* @param displayName user provided buffer to be filled in
|
||||
* @param displayNameCapacity size of displayName Buffer
|
||||
* @param err error status code
|
||||
|
|
@ -877,7 +876,7 @@ ucnv_getName(const UConverter *converter, UErrorCode *err);
|
|||
*
|
||||
* @param converter the Unicode converter
|
||||
* @param err the error status code.
|
||||
* @return If any error occurrs, -1 will be returned otherwise, the codepage number
|
||||
* @return If any error occurs, -1 will be returned otherwise, the codepage number
|
||||
* will be returned
|
||||
* @see ucnv_openCCSID
|
||||
* @see ucnv_getPlatform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue