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

Function InitObjectReference

test/object_reference.cc:422–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422Object InitObjectReference(Env env) {
423 Object exports = Object::New(env);
424
425 exports["setCastedObjects"] = Function::New(env, SetCastedObjects);
426 exports["setObject"] = Function::New(env, SetObject);
427 exports["getCastedFromValue"] = Function::New(env, GetCastedFromValue);
428 exports["getFromGetters"] = Function::New(env, GetFromGetters);
429 exports["getCastedFromGetter"] = Function::New(env, GetCastedFromGetter);
430 exports["getFromValue"] = Function::New(env, GetFromValue);
431 exports["unrefObjects"] = Function::New(env, UnrefObjects);
432 exports["refObjects"] = Function::New(env, RefObjects);
433 exports["moveOpTest"] = Function::New(env, MoveOperatorsTest);
434 exports["setWithTempString"] = Function::New(env, SetWithTempString);
435
436 return exports;
437}

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected