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

Function StaticMethodVoidCb

test/objectwrap.cc:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void StaticMethodVoidCb(const Napi::CallbackInfo& info) {
16 StaticSetter(info, info[0].As<Napi::Number>());
17}
18
19Napi::Value TestStaticMethod(const Napi::CallbackInfo& info) {
20 std::string str = MaybeUnwrap(info[0].ToString());

Callers

nothing calls this directly

Calls 1

StaticSetterFunction · 0.85

Tested by

no test coverage detected