mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +00:00
LibWeb: Use JS_DECLARE_NATIVE_FUNCTION for WebAssembly accessors
This commit is contained in:
parent
b5da876817
commit
83f3f396ad
Notes:
sideshowbarker
2024-07-18 10:23:35 +09:00
Author: https://github.com/linusg
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