mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 19:04:59 +00:00
LibJS+LibUnicode: Separate number formatting methods from Locale.h
Currently, we generate separate data files for locale and number format related tables/methods, but provide public accessors for all of the data in one Locale.h file. Rather than continuing this trend for date-time, relative time, etc. formatting, it's a bit easier to reason about if the public accessors are also in separate files.
This commit is contained in:
parent
bb11437792
commit
914675e826
8 changed files with 216 additions and 178 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <LibCore/DirIterator.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibUnicode/Locale.h>
|
||||
#include <LibUnicode/NumberFormat.h>
|
||||
#include <math.h>
|
||||
|
||||
using StringIndexType = u16;
|
||||
|
@ -541,6 +542,7 @@ static void generate_unicode_locale_implementation(Core::File& file, UnicodeLoca
|
|||
#include <AK/BinarySearch.h>
|
||||
#include <AK/Span.h>
|
||||
#include <LibUnicode/Locale.h>
|
||||
#include <LibUnicode/NumberFormat.h>
|
||||
#include <LibUnicode/UnicodeNumberFormat.h>
|
||||
|
||||
namespace Unicode::Detail {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue