Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ GetConstructor
Method
GetConstructor
test/objectwrap_function.cc:30–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
static Napi::Function GetConstructor(Napi::Env env) {
31
return env.GetInstanceData<Napi::FunctionReference>()->Value();
32
}
33
};
34
35
Napi::Value ObjectWrapFunctionFactory(const Napi::CallbackInfo& info) {
Callers
nothing calls this directly
Calls
1
Value
Method · 0.80
Tested by
no test coverage detected