LibCore: Explicitly export symbols from LibCore

This patch adds explicit symbol export to LibCore. This leads to about
350 less symbols being exported.
This commit is contained in:
R-Goc
2025-12-04 18:12:06 +01:00
committed by Shannon Booth
parent 57b12d3ca0
commit 919f44f3a5
Notes: github-actions[bot] 2026-02-26 17:34:35 +00:00
39 changed files with 143 additions and 104 deletions

View File

@@ -9,6 +9,7 @@
#include <AK/NonnullRefPtr.h>
#include <AK/OwnPtr.h>
#include <LibCore/Event.h>
#include <LibCore/Export.h>
#include <LibCore/Forward.h>
namespace Core {
@@ -16,7 +17,7 @@ namespace Core {
// Per-thread global event queue. This is where events are queued for the EventLoop to process.
// There is only one ThreadEventQueue per thread, and it is accessed via ThreadEventQueue::current().
// It is allowed to post events to other threads' event queues.
class ThreadEventQueue {
class CORE_API ThreadEventQueue {
AK_MAKE_NONCOPYABLE(ThreadEventQueue);
AK_MAKE_NONMOVABLE(ThreadEventQueue);