MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / SetErrorMessage

Function SetErrorMessage

Source/ThirdParty/tinyexr.h:859–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857//}
858
859static void SetErrorMessage(const std::string &msg, const char **err) {
860 if (err) {
861#ifdef _WIN32
862 (*err) = _strdup(msg.c_str());
863#else
864 (*err) = strdup(msg.c_str());
865#endif
866 }
867}
868
869#if 0
870static void SetWarningMessage(const std::string &msg, const char **warn) {

Callers 15

ReadOffsetsFunction · 0.85
DecodeEXRImageFunction · 0.85
EXRLayersFunction · 0.85
LoadEXRWithLayerFunction · 0.85
ParseEXRHeaderFromMemoryFunction · 0.85
LoadEXRFromMemoryFunction · 0.85
LoadEXRImageFromFileFunction · 0.85
LoadEXRImageFromMemoryFunction · 0.85
SaveEXRImageToFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected