MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / wrap

Method wrap

core/src/pengu.h:248–254  ·  view source on GitHub ↗

Wrap u16string in cef_string_t on stack.

Source from the content-addressed store, hash-verified

246 /// Wrap u16string in cef_string_t on stack.
247 ///
248 static cef_string_t wrap(const std::u16string &utf16) {
249 return cef_string_t{
250 (char16 *)utf16.data(),
251 utf16.length(),
252 nullptr
253 };
254 }
255};
256
257///

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected