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

Function assertFatalWithNode

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

Source from the content-addressed store, hash-verified

32}
33
34void assertFatalWithNode(
35 const yoga::Node* const node,
36 const bool condition,
37 const char* message) {
38 if (!condition) {
39 yoga::log(node, LogLevel::Fatal, "%s\n", message);
40 fatalWithMessage(message);
41 }
42}
43
44void assertFatalWithConfig(
45 const yoga::Config* const config,

Callers 8

YGNodeMarkDirtyFunction · 0.85
YGNodeInsertChildFunction · 0.85
calculateLayoutImplFunction · 0.85
calculateBaselineFunction · 0.85
setMeasureFuncMethod · 0.85
resetMethod · 0.85

Calls 2

fatalWithMessageFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected