MCPcopy Create free account
hub / github.com/RenderKit/embree / SetErrorMessage

Function SetErrorMessage

tutorials/common/image/tinyexr.h:789–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787//}
788
789static void SetErrorMessage(const std::string &msg, const char **err) {
790 if (err) {
791#ifdef _WIN32
792 (*err) = _strdup(msg.c_str());
793#else
794 (*err) = strdup(msg.c_str());
795#endif
796 }
797}
798
799#if 0
800static 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 1

c_strMethod · 0.45

Tested by

no test coverage detected