MCPcopy Create free account
hub / github.com/OpenMW/openmw / stringToU8String

Function stringToU8String

components/misc/strings/conversion.hpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 inline const char8_t* stringToU8String(const char* str)
42 {
43 return reinterpret_cast<const char8_t*>(
44 str); // Undefined behavior if the contents of "char" aren't UTF8 or ASCII.
45 }
46
47 inline char8_t* stringToU8String(char* str)
48 {

Callers 12

pathFromUnicodeStringMethod · 0.85
getCrashDumpPathFunction · 0.85
getFreezeDumpPathFunction · 0.85
outputFilePathFunction · 0.85
mainFunction · 0.85
SettingsValuesTestClass · 0.85
readContentFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
extractFunction · 0.85
extractAllFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected