MCPcopy Create free account
hub / github.com/CommE2E/comm / StringToWchar

Function StringToWchar

desktop/addons/windows-pushnotifications/NodeRtUtils.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 const wchar_t *StringToWchar(v8::String::Value &str)
167 {
168#ifdef WCHART_NOT_BUILTIN_IN_NODE
169 return reinterpret_cast<const wchar_t *>(*str);
170#else
171 return *str;
172#endif
173 }
174
175 // Note: current implementation converts any JS value that has a toString method
176 // 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