mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibUnicode: Remove now-unused code generator facilities
This commit is contained in:
parent
069bed5d47
commit
2ba7b4c529
Notes:
sideshowbarker
2024-07-17 07:43:05 +09:00
Author: https://github.com/trflynn89
Commit: 2ba7b4c529
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/239
2 changed files with 0 additions and 67 deletions
|
@ -14,18 +14,6 @@
|
|||
|
||||
namespace Unicode {
|
||||
|
||||
struct CodePointRange {
|
||||
u32 first { 0 };
|
||||
u32 last { 0 };
|
||||
};
|
||||
|
||||
struct CodePointRangeComparator {
|
||||
constexpr int operator()(u32 code_point, CodePointRange const& range)
|
||||
{
|
||||
return (code_point > range.last) - (code_point < range.first);
|
||||
}
|
||||
};
|
||||
|
||||
Optional<GeneralCategory> general_category_from_string(StringView);
|
||||
bool code_point_has_general_category(u32 code_point, GeneralCategory general_category);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue