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

Method CefScopedStr

core/src/utils/cefstr.cc:170–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168// userfree scoped string
169
170CefScopedStr::CefScopedStr(cef_string_userfree_t uf) : CefStrBase(), str_(uf)
171{
172 if (uf != nullptr)
173 {
174 cef_string_t::str = uf->str;
175 cef_string_t::length = uf->length;
176 }
177 else
178 {
179 cef_string_t::str = (char16 *)u"";
180 cef_string_t::length = 0;
181 }
182}
183
184CefScopedStr::~CefScopedStr()
185{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected