mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +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
|
@ -64,14 +64,6 @@ struct Symbols {
|
|||
Optional<LanguageID> (*add_likely_subtags)(LanguageID const&);
|
||||
Optional<String> (*resolve_most_likely_territory)(LanguageID const&);
|
||||
|
||||
// Loaded from UnicodeNumberFormat.cpp:
|
||||
|
||||
Optional<StringView> (*get_number_system_symbol)(StringView, StringView, NumericSymbol);
|
||||
Optional<NumberGroupings> (*get_number_system_groupings)(StringView, StringView);
|
||||
Optional<NumberFormat> (*get_standard_number_system_format)(StringView, StringView, StandardNumberFormatType);
|
||||
Vector<NumberFormat> (*get_compact_number_system_formats)(StringView, StringView, CompactNumberFormatType);
|
||||
Vector<NumberFormat> (*get_unit_formats)(StringView, StringView, Style);
|
||||
|
||||
// Loaded from UnicodeDateTimeFormat.cpp:
|
||||
|
||||
Vector<HourCycle> (*get_regional_hour_cycles)(StringView) { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue