MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / TestStaticMethodInternal

Function TestStaticMethodInternal

test/objectwrap.cc:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24Napi::Value TestStaticMethodInternal(const Napi::CallbackInfo& info) {
25 std::string str = MaybeUnwrap(info[0].ToString());
26 return Napi::String::New(info.Env(), str + " static internal");
27}
28
29class Test : public Napi::ObjectWrap<Test> {
30 public:

Callers

nothing calls this directly

Calls 2

MaybeUnwrapFunction · 0.85
EnvMethod · 0.80

Tested by

no test coverage detected