This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for invariant casing in PAL (#24597)
unicodedata.cpp based on UnicodeData.txt v11.0.
- Loading branch information
1 parent
eae74b8
commit c553192
Showing
9 changed files
with
2,726 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
#ifndef _PAL_UNICODEDATA_H_ | ||
#define _PAL_UNICODEDATA_H_ | ||
|
||
#include "pal/palinternal.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
{ | ||
#endif // __cplusplus | ||
|
||
#define UPPER_CASE 1 | ||
#define LOWER_CASE 2 | ||
|
||
typedef struct | ||
{ | ||
WCHAR nUnicodeValue; | ||
WORD nFlag; | ||
WCHAR nOpposingCase; | ||
} UnicodeDataRec; | ||
|
||
extern CONST UnicodeDataRec UnicodeData[]; | ||
extern CONST UINT UNICODE_DATA_SIZE; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif // __cplusplus | ||
|
||
#endif /* _UNICODE_DATA_H_ */ |
This file contains 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
Oops, something went wrong.