mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibUnicode: Generate a method to lookup available keyword values
This commit is contained in:
parent
c2e5b20eb6
commit
80568d5776
Notes:
sideshowbarker
2024-07-17 10:54:57 +09:00
Author: https://github.com/trflynn89
Commit: 80568d5776
Pull-request: https://github.com/SerenityOS/serenity/pull/14585
3 changed files with 28 additions and 0 deletions
|
@ -766,6 +766,7 @@ StringView style_to_string(Style style)
|
|||
}
|
||||
}
|
||||
|
||||
Span<StringView const> __attribute__((weak)) get_available_keyword_values(StringView) { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_calendars() { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_collation_case_orderings() { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_collation_numeric_orderings() { return {}; }
|
||||
|
|
|
@ -145,6 +145,7 @@ Optional<String> canonicalize_unicode_locale_id(LocaleID&);
|
|||
String const& default_locale();
|
||||
bool is_locale_available(StringView locale);
|
||||
|
||||
Span<StringView const> get_available_keyword_values(StringView key);
|
||||
Span<StringView const> get_available_calendars();
|
||||
Span<StringView const> get_available_collation_case_orderings();
|
||||
Span<StringView const> get_available_collation_numeric_orderings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue