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

Function JsStringFromChar

src/NodeRTLib/ProjectFiles/NodeRtUtils.cpp:700–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700Local<String> JsStringFromChar(wchar_t value) {
701 wchar_t str[2];
702 str[0] = value;
703 str[1] = L'\0';
704
705 return NewString(str);
706}
707
708::Windows::Foundation::HResult HResultFromJsInt32(int32_t value) {
709 ::Windows::Foundation::HResult res;

Callers

nothing calls this directly

Calls 1

NewStringFunction · 0.85

Tested by

no test coverage detected