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

Method New

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:419–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 : _instance(winRtInstance), _getterFunc(getterFunc) {}
418
419 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
420 NodeRT::Utils::SetHiddenValue(
421 info.This().Nan::New<String>("__winRtInstance__").ToLocalChecked(),
422 True());
423 info.GetReturnValue().Set(info.This());
424 }
425
426 static void First(Nan::NAN_METHOD_ARGS_TYPE info) {
427 HandleScope scope;

Callers

nothing calls this directly

Calls 2

SetHiddenValueFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected