LibWeb: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe
2025-07-19 19:35:33 -07:00
committed by Andrew Kaster
parent 94a3a7d9a1
commit 3df8e00d91
Notes: github-actions[bot] 2025-08-23 22:05:58 +00:00
256 changed files with 728 additions and 512 deletions

View File

@@ -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