mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
Notes:
github-actions[bot]
2025-08-23 22:05:58 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/3df8e00d91c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5229 Reviewed-by: https://github.com/ADKaster ✅
@@ -56,6 +56,7 @@ ErrorOr<void> generate_header_file(JsonArray& keyword_data, Core::File& file)
|
||||
|
||||
#include <AK/StringView.h>
|
||||
#include <AK/Traits.h>
|
||||
#include <LibWeb/Export.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
@@ -75,7 +76,7 @@ enum class Keyword : @keyword_underlying_type@ {
|
||||
generator.append(R"~~~(
|
||||
};
|
||||
|
||||
Optional<Keyword> keyword_from_string(StringView);
|
||||
WEB_API Optional<Keyword> keyword_from_string(StringView);
|
||||
StringView string_from_keyword(Keyword);
|
||||
|
||||
// https://www.w3.org/TR/css-values-4/#common-keywords
|
||||
|
||||
Reference in New Issue
Block a user