MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / New

Method New

src/NodeRTLib/ProjectFiles/OpaqueWrapper.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22Nan::Persistent<v8::FunctionTemplate> NodeRT::OpaqueWrapper::s_constructorTemplate;
23
24void NodeRT::OpaqueWrapper::New(Nan::NAN_METHOD_ARGS_TYPE info)
25{
26 NodeRT::Utils::SetHiddenValue(info.This(), Nan::New<String>("__winrtOpaqueWrapper__").ToLocalChecked(), Nan::True());
27
28 info.GetReturnValue().Set(info.This());
29}
30
31
32void NodeRT::OpaqueWrapper::Init()

Callers

nothing calls this directly

Calls 2

SetHiddenValueFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected