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

@@ -77,6 +77,7 @@ static ErrorOr<void> generate_intrinsic_definitions(StringView output_path, Inte
#include <LibGC/DeferGC.h>
#include <LibJS/Runtime/Object.h>
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Export.h>
#include <LibWeb/HTML/Window.h>
#include <LibWeb/HTML/DedicatedWorkerGlobalScope.h>
#include <LibWeb/HTML/SharedWorkerGlobalScope.h>
@@ -211,7 +212,7 @@ bool Intrinsics::is_interface_exposed<@prototype_class@>(JS::Realm& realm) const
gen.append(R"~~~(
template<>
void Intrinsics::create_web_prototype_and_constructor<@prototype_class@>(JS::Realm& realm)
WEB_API void Intrinsics::create_web_prototype_and_constructor<@prototype_class@>(JS::Realm& realm)
{
auto& vm = realm.vm();