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

Function isEnvPresent

src/OpenColorIO/Platform.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144bool isEnvPresent(const char * name)
145{
146 if (!name || !*name)
147 {
148 return false;
149 }
150
151 std::string value;
152 return Getenv(name, value);
153}
154
155int Strcasecmp(const char * str1, const char * str2)
156{

Callers 5

GenericCacheMethod · 0.85
ProcessorCacheMethod · 0.85
IsEnvVariablePresentFunction · 0.85
getProcessorMethod · 0.85
OCIO_ADD_TESTFunction · 0.85

Calls 1

GetenvFunction · 0.85

Tested by 1

OCIO_ADD_TESTFunction · 0.68