summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/ObjectConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/ObjectConstructor.h')
-rw-r--r--Libraries/LibJS/Runtime/ObjectConstructor.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Libraries/LibJS/Runtime/ObjectConstructor.h b/Libraries/LibJS/Runtime/ObjectConstructor.h
index 13ad1a57b7..97d8e6b0a6 100644
--- a/Libraries/LibJS/Runtime/ObjectConstructor.h
+++ b/Libraries/LibJS/Runtime/ObjectConstructor.h
@@ -42,17 +42,17 @@ private:
virtual bool has_constructor() const override { return true; }
virtual const char* class_name() const override { return "ObjectConstructor"; }
- static Value define_property_(Interpreter&);
- static Value is(Interpreter&);
- static Value get_own_property_descriptor(Interpreter&);
- static Value get_own_property_names(Interpreter&);
- static Value get_prototype_of(Interpreter&);
- static Value set_prototype_of(Interpreter&);
- static Value is_extensible(Interpreter&);
- static Value prevent_extensions(Interpreter&);
- static Value keys(Interpreter&);
- static Value values(Interpreter&);
- static Value entries(Interpreter&);
+ JS_DECLARE_NATIVE_FUNCTION(define_property_);
+ JS_DECLARE_NATIVE_FUNCTION(is);
+ JS_DECLARE_NATIVE_FUNCTION(get_own_property_descriptor);
+ JS_DECLARE_NATIVE_FUNCTION(get_own_property_names);
+ JS_DECLARE_NATIVE_FUNCTION(get_prototype_of);
+ JS_DECLARE_NATIVE_FUNCTION(set_prototype_of);
+ JS_DECLARE_NATIVE_FUNCTION(is_extensible);
+ JS_DECLARE_NATIVE_FUNCTION(prevent_extensions);
+ JS_DECLARE_NATIVE_FUNCTION(keys);
+ JS_DECLARE_NATIVE_FUNCTION(values);
+ JS_DECLARE_NATIVE_FUNCTION(entries);
};
}