mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
LibWeb: Use JS_DECLARE_NATIVE_FUNCTION for WebAssembly accessors
This commit is contained in:
parent
b5da876817
commit
83f3f396ad
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
virtual void initialize(JS::GlobalObject&) override;
|
||||
|
||||
private:
|
||||
JS_DECLARE_NATIVE_GETTER(exports_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(exports_getter);
|
||||
static JS::Handle<WebAssemblyInstancePrototype> s_instance;
|
||||
};
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(grow);
|
||||
JS_DECLARE_NATIVE_GETTER(buffer_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(buffer_getter);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue