mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
83846b3861
commit
c14173f651
Notes:
github-actions[bot]
2025-06-30 16:51:52 +00:00
Author: https://github.com/ayeteadoe
Commit: c14173f651
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5215
Reviewed-by: https://github.com/ADKaster ✅
258 changed files with 952 additions and 941 deletions
|
@ -49,7 +49,7 @@ namespace JS {
|
|||
})
|
||||
|
||||
// 6.2.3 The Completion Record Specification Type, https://tc39.es/ecma262/#sec-completion-record-specification-type
|
||||
class [[nodiscard]] Completion {
|
||||
class [[nodiscard]] JS_API Completion {
|
||||
public:
|
||||
enum class Type {
|
||||
Empty,
|
||||
|
@ -335,7 +335,7 @@ private:
|
|||
Value m_value;
|
||||
};
|
||||
|
||||
ThrowCompletionOr<Value> await(VM&, Value);
|
||||
JS_API ThrowCompletionOr<Value> await(VM&, Value);
|
||||
|
||||
// 6.2.4.1 NormalCompletion ( value ), https://tc39.es/ecma262/#sec-normalcompletion
|
||||
inline Completion normal_completion(Value value)
|
||||
|
@ -345,6 +345,6 @@ inline Completion normal_completion(Value value)
|
|||
}
|
||||
|
||||
// 6.2.4.2 ThrowCompletion ( value ), https://tc39.es/ecma262/#sec-throwcompletion
|
||||
Completion throw_completion(Value);
|
||||
JS_API Completion throw_completion(Value);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue