1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:38:10 +00:00

LibUnicode: Use weak symbols to provide default IDNA defintions

Rather than using #ifdef blocks, update the fallback IDNA definitions to
use weak symbols to match the rest of LibUnicode / LibLocale.
This commit is contained in:
Timothy Flynn 2023-12-10 09:06:21 -05:00 committed by Tim Flynn
parent 1f0e24bc3b
commit 43e9dc0500
3 changed files with 5 additions and 16 deletions

View file

@ -73,5 +73,6 @@ struct ToAsciiOptions {
};
ErrorOr<String> to_ascii(Utf8View domain_name, ToAsciiOptions const& = {});
Optional<Mapping> get_idna_mapping(u32 code_point);
}