MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / InitMaybeCheck

Function InitMaybeCheck

test/maybe/check.cc:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58} // end anonymous namespace
59
60Object InitMaybeCheck(Env env) {
61 Object exports = Object::New(env);
62 exports.Set("voidCallback", Function::New(env, VoidCallback));
63 exports.Set("normalJsCallback", Function::New(env, NormalJsCallback));
64 exports.Set("testMaybeOverloadOp",
65 Function::New(env, TestMaybeOperatorOverload));
66 return exports;
67}
68
69#endif

Callers 1

InitFunction · 0.85

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected