mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:25:07 +00:00
LibUnicode: Dynamically load the generated UnicodeNumberFormat symbols
This commit is contained in:
parent
09be26b5d2
commit
a1f0ca59ae
4 changed files with 40 additions and 53 deletions
|
@ -16,6 +16,7 @@
|
|||
#else
|
||||
# include <AK/Function.h>
|
||||
# include <LibUnicode/Locale.h>
|
||||
# include <LibUnicode/NumberFormat.h>
|
||||
#endif
|
||||
|
||||
namespace Unicode::Detail {
|
||||
|
@ -110,6 +111,12 @@ Symbols const& Symbols::ensure_loaded()
|
|||
load_symbol(symbols.add_likely_subtags, "unicode_add_likely_subtags");
|
||||
load_symbol(symbols.resolve_most_likely_territory, "unicode_resolve_most_likely_territory");
|
||||
|
||||
load_symbol(symbols.get_number_system_symbol, "unicode_get_number_system_symbol");
|
||||
load_symbol(symbols.get_number_system_groupings, "unicode_get_number_system_groupings");
|
||||
load_symbol(symbols.get_standard_number_system_format, "unicode_get_standard_number_system_format");
|
||||
load_symbol(symbols.get_compact_number_system_formats, "unicode_get_compact_number_system_formats");
|
||||
load_symbol(symbols.get_unit_formats, "unicode_get_unit_formats");
|
||||
|
||||
initialized = true;
|
||||
return symbols;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue