mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibUnicode: Return a String from Unicode normalization
This commit is contained in:
parent
c9056b824e
commit
58bc831750
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/trflynn89
Commit: 58bc831750
Pull-request: https://github.com/SerenityOS/serenity/pull/17014
Reviewed-by: https://github.com/linusg ✅
2 changed files with 4 additions and 4 deletions
|
@ -6,11 +6,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/Error.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Span.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <LibUnicode/Forward.h>
|
||||
|
||||
|
@ -29,6 +29,6 @@ enum class NormalizationForm {
|
|||
NormalizationForm normalization_form_from_string(StringView form);
|
||||
StringView normalization_form_to_string(NormalizationForm form);
|
||||
|
||||
ErrorOr<DeprecatedString> normalize(StringView string, NormalizationForm form);
|
||||
ErrorOr<String> normalize(StringView string, NormalizationForm form);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue