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

Method New

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:1312–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310 _valueGetterFunc(valueGetterFunc) {}
1311
1312 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
1313 NodeRT::Utils::SetHiddenValue(
1314 info.This(), Nan::New<String>("__winRtInstance__").ToLocalChecked(),
1315 True());
1316 info.GetReturnValue().Set(info.This());
1317 }
1318
1319 static void KeyGetter(Local<String> property,
1320 const Nan::PropertyCallbackInfo<v8::Value>& info) {

Callers

nothing calls this directly

Calls 2

SetHiddenValueFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected