MCPcopy Create free account
hub / github.com/RenderKit/oidn / useColourOnPlatform

Function useColourOnPlatform

external/catch.hpp:10209–10220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10207 };
10208
10209 bool useColourOnPlatform() {
10210 return
10211#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
10212 !isDebuggerActive() &&
10213#endif
10214#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
10215 isatty(STDOUT_FILENO)
10216#else
10217 false
10218#endif
10219 ;
10220 }
10221 IColourImpl* platformColourInstance() {
10222 ErrnoGuard guard;
10223 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected