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

Method New

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:803–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 _convertToTypeFunc(convertToTypeFunc) {}
802
803 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
804 NodeRT::Utils::SetHiddenValue(
805 info.This(), Nan::New<String>("__winRtInstance__").ToLocalChecked(),
806 True());
807
808 info.GetReturnValue().Set(info.This());
809 }
810
811 static void Get(uint32_t index,
812 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