LibJS: Convert StringConstructor functions to ThrowCompletionOr

This commit is contained in:
Idan Horowitz
2021-10-23 02:54:12 +03:00
committed by Andreas Kling
parent f27d768745
commit 28e1e03234
Notes: sideshowbarker 2024-07-18 02:00:45 +09:00
2 changed files with 23 additions and 27 deletions

View File

@@ -24,9 +24,9 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(raw);
JS_DECLARE_OLD_NATIVE_FUNCTION(from_char_code);
JS_DECLARE_OLD_NATIVE_FUNCTION(from_code_point);
JS_DECLARE_NATIVE_FUNCTION(raw);
JS_DECLARE_NATIVE_FUNCTION(from_char_code);
JS_DECLARE_NATIVE_FUNCTION(from_code_point);
};
}