mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 22:15:07 +00:00
LibUnicode: Convert UnicodeNumberFormat to link with weak symbols
Currently, we load the generated Unicode symbols with dlopen at runtime.
This is unnecessary as of 565a880ce5
.
Applications that want Unicode data now link directly against the shared
library holding that data. So the same functionality can be achieved
with weak symbols.
This commit is contained in:
parent
ffb3ba3079
commit
98709d9be1
4 changed files with 17 additions and 62 deletions
|
@ -17,7 +17,6 @@
|
|||
# include <AK/Function.h>
|
||||
# include <LibUnicode/DateTimeFormat.h>
|
||||
# include <LibUnicode/Locale.h>
|
||||
# include <LibUnicode/NumberFormat.h>
|
||||
#endif
|
||||
|
||||
namespace Unicode::Detail {
|
||||
|
@ -112,12 +111,6 @@ 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");
|
||||
|
||||
load_symbol(symbols.get_regional_hour_cycles, "unicode_get_regional_hour_cycles");
|
||||
load_symbol(symbols.get_calendar_date_format, "unicode_get_calendar_date_format");
|
||||
load_symbol(symbols.get_calendar_time_format, "unicode_get_calendar_time_format");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue