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

Function TestCallbackInfoSetData

test/callbackInfo.cc:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15};
16
17void TestCallbackInfoSetData(const Napi::CallbackInfo& info) {
18 napi_callback_info cb_info = static_cast<napi_callback_info>(info);
19 TestCBInfoSetData::Test(info.Env(), cb_info);
20}
21
22Object InitCallbackInfo(Env env) {
23 Object exports = Object::New(env);

Callers

nothing calls this directly

Calls 2

EnvMethod · 0.80
TestClass · 0.70

Tested by

no test coverage detected