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

Function InitHandleScope

test/handlescope.cc:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73Object InitHandleScope(Env env) {
74 Object exports = Object::New(env);
75
76 exports["createScope"] = Function::New(env, createScope);
77 exports["createScopeFromExisting"] =
78 Function::New(env, createScopeFromExisting);
79 exports["escapeFromScope"] = Function::New(env, escapeFromScope);
80 exports["escapeFromExistingScope"] =
81 Function::New(env, escapeFromExistingScope);
82 exports["stressEscapeFromScope"] = Function::New(env, stressEscapeFromScope);
83 exports["doubleEscapeFromScope"] = Function::New(env, doubleEscapeFromScope);
84
85 return exports;
86}

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected