@@ -109,6 +109,123 @@ __swift_int32_t _swift_stdlib_unicode_strToLower(
109
109
__swift_uint16_t *Destination, __swift_int32_t DestinationCapacity,
110
110
const __swift_uint16_t *Source, __swift_int32_t SourceLength);
111
111
112
+ typedef enum __swift_stdlib_UProperty {
113
+ __swift_stdlib_UCHAR_ALPHABETIC = 0 ,
114
+ __swift_stdlib_UCHAR_BINARY_START = __swift_stdlib_UCHAR_ALPHABETIC,
115
+ __swift_stdlib_UCHAR_ASCII_HEX_DIGIT = 1 ,
116
+ __swift_stdlib_UCHAR_BIDI_CONTROL = 2 ,
117
+ __swift_stdlib_UCHAR_BIDI_MIRRORED = 3 ,
118
+ __swift_stdlib_UCHAR_DASH = 4 ,
119
+ __swift_stdlib_UCHAR_DEFAULT_IGNORABLE_CODE_POINT = 5 ,
120
+ __swift_stdlib_UCHAR_DEPRECATED = 6 ,
121
+ __swift_stdlib_UCHAR_DIACRITIC = 7 ,
122
+ __swift_stdlib_UCHAR_EXTENDER = 8 ,
123
+ __swift_stdlib_UCHAR_FULL_COMPOSITION_EXCLUSION = 9 ,
124
+ __swift_stdlib_UCHAR_GRAPHEME_BASE = 10 ,
125
+ __swift_stdlib_UCHAR_GRAPHEME_EXTEND = 11 ,
126
+ __swift_stdlib_UCHAR_GRAPHEME_LINK = 12 ,
127
+ __swift_stdlib_UCHAR_HEX_DIGIT = 13 ,
128
+ __swift_stdlib_UCHAR_HYPHEN = 14 ,
129
+ __swift_stdlib_UCHAR_ID_CONTINUE = 15 ,
130
+ __swift_stdlib_UCHAR_ID_START = 16 ,
131
+ __swift_stdlib_UCHAR_IDEOGRAPHIC = 17 ,
132
+ __swift_stdlib_UCHAR_IDS_BINARY_OPERATOR = 18 ,
133
+ __swift_stdlib_UCHAR_IDS_TRINARY_OPERATOR = 19 ,
134
+ __swift_stdlib_UCHAR_JOIN_CONTROL = 20 ,
135
+ __swift_stdlib_UCHAR_LOGICAL_ORDER_EXCEPTION = 21 ,
136
+ __swift_stdlib_UCHAR_LOWERCASE = 22 ,
137
+ __swift_stdlib_UCHAR_MATH = 23 ,
138
+ __swift_stdlib_UCHAR_NONCHARACTER_CODE_POINT = 24 ,
139
+ __swift_stdlib_UCHAR_QUOTATION_MARK = 25 ,
140
+ __swift_stdlib_UCHAR_RADICAL = 26 ,
141
+ __swift_stdlib_UCHAR_SOFT_DOTTED = 27 ,
142
+ __swift_stdlib_UCHAR_TERMINAL_PUNCTUATION = 28 ,
143
+ __swift_stdlib_UCHAR_UNIFIED_IDEOGRAPH = 29 ,
144
+ __swift_stdlib_UCHAR_UPPERCASE = 30 ,
145
+ __swift_stdlib_UCHAR_WHITE_SPACE = 31 ,
146
+ __swift_stdlib_UCHAR_XID_CONTINUE = 32 ,
147
+ __swift_stdlib_UCHAR_XID_START = 33 ,
148
+ __swift_stdlib_UCHAR_CASE_SENSITIVE = 34 ,
149
+ __swift_stdlib_UCHAR_S_TERM = 35 ,
150
+ __swift_stdlib_UCHAR_VARIATION_SELECTOR = 36 ,
151
+ __swift_stdlib_UCHAR_NFD_INERT = 37 ,
152
+ __swift_stdlib_UCHAR_NFKD_INERT = 38 ,
153
+ __swift_stdlib_UCHAR_NFC_INERT = 39 ,
154
+ __swift_stdlib_UCHAR_NFKC_INERT = 40 ,
155
+ __swift_stdlib_UCHAR_SEGMENT_STARTER = 41 ,
156
+ __swift_stdlib_UCHAR_PATTERN_SYNTAX = 42 ,
157
+ __swift_stdlib_UCHAR_PATTERN_WHITE_SPACE = 43 ,
158
+ __swift_stdlib_UCHAR_POSIX_ALNUM = 44 ,
159
+ __swift_stdlib_UCHAR_POSIX_BLANK = 45 ,
160
+ __swift_stdlib_UCHAR_POSIX_GRAPH = 46 ,
161
+ __swift_stdlib_UCHAR_POSIX_PRINT = 47 ,
162
+ __swift_stdlib_UCHAR_POSIX_XDIGIT = 48 ,
163
+ __swift_stdlib_UCHAR_CASED = 49 ,
164
+ __swift_stdlib_UCHAR_CASE_IGNORABLE = 50 ,
165
+ __swift_stdlib_UCHAR_CHANGES_WHEN_LOWERCASED = 51 ,
166
+ __swift_stdlib_UCHAR_CHANGES_WHEN_UPPERCASED = 52 ,
167
+ __swift_stdlib_UCHAR_CHANGES_WHEN_TITLECASED = 53 ,
168
+ __swift_stdlib_UCHAR_CHANGES_WHEN_CASEFOLDED = 54 ,
169
+ __swift_stdlib_UCHAR_CHANGES_WHEN_CASEMAPPED = 55 ,
170
+ __swift_stdlib_UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED = 56 ,
171
+ __swift_stdlib_UCHAR_EMOJI = 57 ,
172
+ __swift_stdlib_UCHAR_EMOJI_PRESENTATION = 58 ,
173
+ __swift_stdlib_UCHAR_EMOJI_MODIFIER = 59 ,
174
+ __swift_stdlib_UCHAR_EMOJI_MODIFIER_BASE = 60 ,
175
+
176
+ __swift_stdlib_UCHAR_BIDI_CLASS = 0x1000 ,
177
+ __swift_stdlib_UCHAR_INT_START = __swift_stdlib_UCHAR_BIDI_CLASS,
178
+ __swift_stdlib_UCHAR_BLOCK = 0x1001 ,
179
+ __swift_stdlib_UCHAR_CANONICAL_COMBINING_CLASS = 0x1002 ,
180
+ __swift_stdlib_UCHAR_DECOMPOSITION_TYPE = 0x1003 ,
181
+ __swift_stdlib_UCHAR_EAST_ASIAN_WIDTH = 0x1004 ,
182
+ __swift_stdlib_UCHAR_GENERAL_CATEGORY = 0x1005 ,
183
+ __swift_stdlib_UCHAR_JOINING_GROUP = 0x1006 ,
184
+ __swift_stdlib_UCHAR_JOINING_TYPE = 0x1007 ,
185
+ __swift_stdlib_UCHAR_LINE_BREAK = 0x1008 ,
186
+ __swift_stdlib_UCHAR_NUMERIC_TYPE = 0x1009 ,
187
+ __swift_stdlib_UCHAR_SCRIPT = 0x100A ,
188
+ __swift_stdlib_UCHAR_HANGUL_SYLLABLE_TYPE = 0x100B ,
189
+ __swift_stdlib_UCHAR_NFD_QUICK_CHECK = 0x100C ,
190
+ __swift_stdlib_UCHAR_NFKD_QUICK_CHECK = 0x100D ,
191
+ __swift_stdlib_UCHAR_NFC_QUICK_CHECK = 0x100E ,
192
+ __swift_stdlib_UCHAR_NFKC_QUICK_CHECK = 0x100F ,
193
+ __swift_stdlib_UCHAR_LEAD_CANONICAL_COMBINING_CLASS = 0x1010 ,
194
+ __swift_stdlib_UCHAR_TRAIL_CANONICAL_COMBINING_CLASS = 0x1011 ,
195
+ __swift_stdlib_UCHAR_GRAPHEME_CLUSTER_BREAK = 0x1012 ,
196
+ __swift_stdlib_UCHAR_SENTENCE_BREAK = 0x1013 ,
197
+ __swift_stdlib_UCHAR_WORD_BREAK = 0x1014 ,
198
+ __swift_stdlib_UCHAR_BIDI_PAIRED_BRACKET_TYPE = 0x1015 ,
199
+
200
+ __swift_stdlib_UCHAR_GENERAL_CATEGORY_MASK = 0x2000 ,
201
+ __swift_stdlib_UCHAR_MASK_START = __swift_stdlib_UCHAR_GENERAL_CATEGORY_MASK,
202
+
203
+ __swift_stdlib_UCHAR_NUMERIC_VALUE = 0x3000 ,
204
+ __swift_stdlib_UCHAR_DOUBLE_START = __swift_stdlib_UCHAR_NUMERIC_VALUE,
205
+
206
+ __swift_stdlib_UCHAR_AGE = 0x4000 ,
207
+ __swift_stdlib_UCHAR_STRING_START = __swift_stdlib_UCHAR_AGE,
208
+ __swift_stdlib_UCHAR_BIDI_MIRRORING_GLYPH = 0x4001 ,
209
+ __swift_stdlib_UCHAR_CASE_FOLDING = 0x4002 ,
210
+
211
+ __swift_stdlib_UCHAR_LOWERCASE_MAPPING = 0x4004 ,
212
+ __swift_stdlib_UCHAR_NAME = 0x4005 ,
213
+ __swift_stdlib_UCHAR_SIMPLE_CASE_FOLDING = 0x4006 ,
214
+ __swift_stdlib_UCHAR_SIMPLE_LOWERCASE_MAPPING = 0x4007 ,
215
+ __swift_stdlib_UCHAR_SIMPLE_TITLECASE_MAPPING = 0x4008 ,
216
+ __swift_stdlib_UCHAR_SIMPLE_UPPERCASE_MAPPING = 0x4009 ,
217
+ __swift_stdlib_UCHAR_TITLECASE_MAPPING = 0x400A ,
218
+
219
+ __swift_stdlib_UCHAR_UPPERCASE_MAPPING = 0x400C ,
220
+ __swift_stdlib_UCHAR_BIDI_PAIRED_BRACKET = 0x400D ,
221
+
222
+ __swift_stdlib_UCHAR_SCRIPT_EXTENSIONS = 0x7000 ,
223
+ __swift_stdlib_UCHAR_OTHER_PROPERTY_START =
224
+ __swift_stdlib_UCHAR_SCRIPT_EXTENSIONS,
225
+
226
+ __swift_stdlib_UCHAR_INVALID_CODE = -1
227
+ } __swift_stdlib_UProperty;
228
+
112
229
typedef enum __swift_stdlib_UErrorCode {
113
230
__swift_stdlib_U_USING_FALLBACK_WARNING = -128 ,
114
231
__swift_stdlib_U_ERROR_WARNING_START = -128 ,
@@ -294,7 +411,10 @@ typedef enum __swift_stdlib_UBreakIteratorType {
294
411
} __swift_stdlib_UBreakIteratorType;
295
412
296
413
typedef struct __swift_stdlib_UBreakIterator __swift_stdlib_UBreakIterator;
414
+ typedef struct __swift_stdlib_UNormalizer2 __swift_stdlib_UNormalizer2;
297
415
typedef __swift_uint16_t __swift_stdlib_UChar;
416
+ typedef __swift_int32_t __swift_stdlib_UChar32;
417
+ typedef __swift_int8_t __swift_stdlib_UBool;
298
418
299
419
SWIFT_RUNTIME_STDLIB_INTERFACE
300
420
void __swift_stdlib_ubrk_close (__swift_stdlib_UBreakIterator *bi);
@@ -321,6 +441,37 @@ SWIFT_RUNTIME_STDLIB_INTERFACE
321
441
__swift_int32_t __swift_stdlib_ubrk_following (__swift_stdlib_UBreakIterator *bi,
322
442
__swift_int32_t offset);
323
443
444
+ SWIFT_RUNTIME_STDLIB_INTERFACE
445
+ __swift_stdlib_UBool
446
+ __swift_stdlib_unorm2_hasBoundaryBefore (const __swift_stdlib_UNormalizer2 *,
447
+ __swift_stdlib_UChar32);
448
+
449
+ SWIFT_RUNTIME_STDLIB_INTERFACE
450
+ const __swift_stdlib_UNormalizer2 *
451
+ __swift_stdlib_unorm2_getNFCInstance (__swift_stdlib_UErrorCode *);
452
+
453
+ SWIFT_RUNTIME_STDLIB_INTERFACE
454
+ __swift_int32_t
455
+ __swift_stdlib_unorm2_normalize (const __swift_stdlib_UNormalizer2 *,
456
+ const __swift_stdlib_UChar *, __swift_int32_t ,
457
+ __swift_stdlib_UChar *, __swift_int32_t ,
458
+ __swift_stdlib_UErrorCode *);
459
+
460
+ SWIFT_RUNTIME_STDLIB_INTERFACE
461
+ __swift_int32_t __swift_stdlib_unorm2_spanQuickCheckYes (
462
+ const __swift_stdlib_UNormalizer2 *, const __swift_stdlib_UChar *,
463
+ __swift_int32_t , __swift_stdlib_UErrorCode *);
464
+
465
+ SWIFT_RUNTIME_STDLIB_INTERFACE
466
+ __swift_stdlib_UBool
467
+ __swift_stdlib_u_hasBinaryProperty (__swift_stdlib_UChar32,
468
+ __swift_stdlib_UProperty);
469
+ SWIFT_RUNTIME_STDLIB_INTERFACE
470
+ __swift_stdlib_UBool
471
+ __swift_stdlib_u_isdefined (__swift_stdlib_UChar32);
472
+
473
+
474
+
324
475
#ifdef __cplusplus
325
476
}} // extern "C", namespace swift
326
477
#endif
0 commit comments