mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibUnicode: Generate a list of available numbering systems
This commit is contained in:
parent
ebd33e580b
commit
481ced53d8
3 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
|
||||
namespace Unicode {
|
||||
|
||||
Span<StringView const> __attribute__((weak)) get_available_number_systems() { return {}; }
|
||||
Optional<NumberSystem> __attribute__((weak)) number_system_from_string(StringView) { return {}; }
|
||||
Optional<StringView> __attribute__((weak)) get_number_system_symbol(StringView, StringView, NumericSymbol) { return {}; }
|
||||
Optional<NumberGroupings> __attribute__((weak)) get_number_system_groupings(StringView, StringView) { return {}; }
|
||||
|
|
|
@ -66,6 +66,8 @@ enum class NumericSymbol : u8 {
|
|||
PlusSign,
|
||||
};
|
||||
|
||||
Span<StringView const> get_available_number_systems();
|
||||
|
||||
Optional<NumberSystem> number_system_from_string(StringView system);
|
||||
Optional<StringView> get_default_number_system(StringView locale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue