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

Function StringToWchar

src/NodeRTLib/ProjectFiles/NodeRtUtils.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152const wchar_t* StringToWchar(v8::String::Value& str) {
153#ifdef WCHART_NOT_BUILTIN_IN_NODE
154 return reinterpret_cast<const wchar_t*>(*str);
155#else
156 return *str;
157#endif
158}
159
160// Note: current implementation converts any JS value that has a toString method
161// to a ::Platform::String^ Changes to this code might break the Collection

Callers 1

StrToGuidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected