mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Add ThrowCompletionOr versions of the JS native function macros
The old versions were renamed to JS_DECLARE_OLD_NATIVE_FUNCTION and JS_DEFINE_OLD_NATIVE_FUNCTION, and will be eventually removed once all native functions were converted to the new format.
This commit is contained in:
committed by
Linus Groh
parent
3355b52cca
commit
20163c0584
@@ -24,11 +24,11 @@ public:
|
||||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_array);
|
||||
JS_DECLARE_NATIVE_FUNCTION(of);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(is_array);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(of);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(symbol_species_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(symbol_species_getter);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user