LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set

This commit is contained in:
ayeteadoe
2025-07-19 13:49:30 -07:00
committed by Tim Flynn
parent 539a675802
commit 2e2484257d
Notes: github-actions[bot] 2025-07-22 15:52:50 +00:00
61 changed files with 167 additions and 124 deletions

View File

@@ -10,12 +10,13 @@
#include <AK/EnumBits.h>
#include <AK/Optional.h>
#include <AK/Result.h>
#include <LibJS/Export.h>
#include <LibJS/Runtime/Object.h>
#include <LibRegex/Regex.h>
namespace JS {
ThrowCompletionOr<GC::Ref<RegExpObject>> regexp_create(VM&, Value pattern, Value flags);
JS_API ThrowCompletionOr<GC::Ref<RegExpObject>> regexp_create(VM&, Value pattern, Value flags);
ThrowCompletionOr<GC::Ref<RegExpObject>> regexp_alloc(VM&, FunctionObject& new_target);
Result<regex::RegexOptions<ECMAScriptFlags>, String> regex_flags_from_string(StringView flags);