mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set
This commit is contained in:
Notes:
github-actions[bot]
2025-07-22 15:52:50 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/2e2484257d4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5525 Reviewed-by: https://github.com/trflynn89 ✅
@@ -8,12 +8,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <LibGC/Heap.h>
|
||||
#include <LibJS/Export.h>
|
||||
#include <LibJS/Runtime/Environment.h>
|
||||
#include <LibJS/Runtime/VM.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
class GlobalObject : public Object {
|
||||
class JS_API GlobalObject : public Object {
|
||||
JS_OBJECT(GlobalObject, Object);
|
||||
GC_DECLARE_ALLOCATOR(GlobalObject);
|
||||
|
||||
@@ -43,7 +44,7 @@ private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(unescape);
|
||||
};
|
||||
|
||||
void set_default_global_bindings(Realm&);
|
||||
JS_API void set_default_global_bindings(Realm&);
|
||||
|
||||
template<>
|
||||
inline bool Object::fast_is<GlobalObject>() const { return is_global_object(); }
|
||||
|
||||
Reference in New Issue
Block a user