| 32 | } |
| 33 | |
| 34 | void 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 | |
| 44 | void assertFatalWithConfig( |
| 45 | const yoga::Config* const config, |
no test coverage detected