mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
AK+LibUnicode: Add Unicode::create_unicode_url
This is a workaround for the fact that AK::URLParser can't call into LibUnicode directly.
This commit is contained in:
parent
5bcb019106
commit
58f08107b0
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/skyrising
Commit: 58f08107b0
Pull-request: https://github.com/SerenityOS/serenity/pull/19414
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/nico
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/trflynn89
4 changed files with 76 additions and 1 deletions
16
Userland/Libraries/LibUnicode/URL.h
Normal file
16
Userland/Libraries/LibUnicode/URL.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Simon Wanner <simon@skyrising.xyz>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <AK/URL.h>
|
||||
|
||||
namespace Unicode {
|
||||
|
||||
ErrorOr<URL> create_unicode_url(String const&);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue