mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +00:00
LibJS: Stop qualifying AK::Function
Now that JS function objects are JS::FunctionObject, we can stop qualifying AK::Function and just say "Function" everywhere. Nice. :^)
This commit is contained in:
parent
745a1dbb5d
commit
1bd52ce789
15 changed files with 26 additions and 26 deletions
|
@ -13,7 +13,7 @@ namespace JS {
|
|||
|
||||
class NativeProperty final : public Cell {
|
||||
public:
|
||||
NativeProperty(AK::Function<Value(VM&, GlobalObject&)> getter, AK::Function<void(VM&, GlobalObject&, Value)> setter);
|
||||
NativeProperty(Function<Value(VM&, GlobalObject&)> getter, Function<void(VM&, GlobalObject&, Value)> setter);
|
||||
virtual ~NativeProperty() override;
|
||||
|
||||
Value get(VM&, GlobalObject&) const;
|
||||
|
@ -22,8 +22,8 @@ public:
|
|||
private:
|
||||
virtual const char* class_name() const override { return "NativeProperty"; }
|
||||
|
||||
AK::Function<Value(VM&, GlobalObject&)> m_getter;
|
||||
AK::Function<void(VM&, GlobalObject&, Value)> m_setter;
|
||||
Function<Value(VM&, GlobalObject&)> m_getter;
|
||||
Function<void(VM&, GlobalObject&, Value)> m_setter;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue