mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:04:57 +00:00
LibUnicode+LibJS: Move Unicode::get_available_currencies() to Locale.h
This is generated by GenerateLocaleData, which will soon be in the Locale namespace. Move it out of CurrencyCode.h, as that will continue to live in the Unicode namespace.
This commit is contained in:
parent
1e0276f541
commit
6c7b05a0ff
5 changed files with 2 additions and 4 deletions
|
@ -20,7 +20,6 @@
|
|||
#include <LibJS/Runtime/Intl/RelativeTimeFormatConstructor.h>
|
||||
#include <LibJS/Runtime/Intl/SegmenterConstructor.h>
|
||||
#include <LibJS/Runtime/Temporal/TimeZone.h>
|
||||
#include <LibUnicode/CurrencyCode.h>
|
||||
#include <LibUnicode/DateTimeFormat.h>
|
||||
#include <LibUnicode/Locale.h>
|
||||
#include <LibUnicode/NumberFormat.h>
|
||||
|
|
|
@ -203,6 +203,4 @@ Optional<CurrencyCode> get_currency_code(StringView currency)
|
|||
return currency_codes.get(currency);
|
||||
}
|
||||
|
||||
Span<StringView const> __attribute__((weak)) get_available_currencies() { return {}; }
|
||||
|
||||
}
|
||||
|
|
|
@ -18,6 +18,5 @@ struct CurrencyCode {
|
|||
};
|
||||
|
||||
Optional<CurrencyCode> get_currency_code(StringView currency);
|
||||
Span<StringView const> get_available_currencies();
|
||||
|
||||
}
|
||||
|
|
|
@ -771,6 +771,7 @@ 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 {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_collation_types() { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_currencies() { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_hour_cycles() { return {}; }
|
||||
Span<StringView const> __attribute__((weak)) get_available_number_systems() { return {}; }
|
||||
Optional<Locale> __attribute__((weak)) locale_from_string(StringView) { return {}; }
|
||||
|
|
|
@ -150,6 +150,7 @@ Span<StringView const> get_available_calendars();
|
|||
Span<StringView const> get_available_collation_case_orderings();
|
||||
Span<StringView const> get_available_collation_numeric_orderings();
|
||||
Span<StringView const> get_available_collation_types();
|
||||
Span<StringView const> get_available_currencies();
|
||||
Span<StringView const> get_available_hour_cycles();
|
||||
Span<StringView const> get_available_number_systems();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue