LibJS: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe 2025-06-28 21:39:13 -07:00 committed by Andrew Kaster
parent 83846b3861
commit c14173f651
Notes: github-actions[bot] 2025-06-30 16:51:52 +00:00
258 changed files with 952 additions and 941 deletions

View file

@ -57,7 +57,7 @@ struct ResolvedBinding {
};
// https://tc39.es/ecma262/#graphloadingstate-record
struct GraphLoadingState : public Cell {
struct JS_API GraphLoadingState : public Cell {
GC_CELL(GraphLoadingState, Cell);
GC_DECLARE_ALLOCATOR(GraphLoadingState);
@ -88,7 +88,7 @@ private:
};
// 16.2.1.4 Abstract Module Records, https://tc39.es/ecma262/#sec-abstract-module-records
class Module : public Cell {
class JS_API Module : public Cell {
GC_CELL(Module, Cell);
GC_DECLARE_ALLOCATOR(Module);
@ -150,6 +150,6 @@ private:
class CyclicModule;
struct GraphLoadingState;
void finish_loading_imported_module(ImportedModuleReferrer, ModuleRequest const&, ImportedModulePayload, ThrowCompletionOr<GC::Ref<Module>> const&);
JS_API void finish_loading_imported_module(ImportedModuleReferrer, ModuleRequest const&, ImportedModulePayload, ThrowCompletionOr<GC::Ref<Module>> const&);
}