MCPcopy Create free account
hub / github.com/Snapchat/Valdi / assertFatal

Function assertFatal

third-party/yoga/src/yoga/debug/AssertFatal.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void assertFatal(const bool condition, const char* message) {
28 if (!condition) {
29 yoga::log(LogLevel::Fatal, "%s\n", message);
30 fatalWithMessage(message);
31 }
32}
33
34void assertFatalWithNode(
35 const yoga::Node* const node,

Callers 3

YGNodeNewWithConfigFunction · 0.85
NodeMethod · 0.85
setConfigMethod · 0.85

Calls 2

fatalWithMessageFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected