MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / filenameToUTF

Function filenameToUTF

src/OpenColorIO/Platform.cpp:280–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278
279#if defined(_WIN32) && defined(UNICODE)
280const std::wstring filenameToUTF(const std::string & filename)
281{
282 // Can not return by reference since it could return std::wstring() or std::string().
283 return Utf8ToUtf16(filename);
284}
285#else
286const std::string filenameToUTF(const std::string & filename)
287{

Callers 4

getLutDataFunction · 0.85
getConfigDataMethod · 0.85
getLutDataMethod · 0.85
getFastLutFileHashMethod · 0.85

Calls 1

Utf8ToUtf16Function · 0.85

Tested by 3

getConfigDataMethod · 0.68
getLutDataMethod · 0.68
getFastLutFileHashMethod · 0.68