mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
wasi: fix WasiFunction fast call signature
PR-URL: https://github.com/nodejs/node/pull/59600 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
5ac6ee7716
commit
4f4d5b348c
@@ -266,7 +266,6 @@ inline void EinvalError() {}
|
||||
|
||||
template <typename FT, FT F, typename R, typename... Args>
|
||||
R WASI::WasiFunction<FT, F, R, Args...>::FastCallback(
|
||||
Local<Object> unused,
|
||||
Local<Object> receiver,
|
||||
Args... args,
|
||||
// NOLINTNEXTLINE(runtime/references) This is V8 api.
|
||||
|
||||
@@ -160,8 +160,7 @@ class WASI : public BaseObject,
|
||||
v8::Local<v8::FunctionTemplate>);
|
||||
|
||||
private:
|
||||
static R FastCallback(v8::Local<v8::Object> unused,
|
||||
v8::Local<v8::Object> receiver,
|
||||
static R FastCallback(v8::Local<v8::Object> receiver,
|
||||
Args...,
|
||||
v8::FastApiCallbackOptions&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user