| 42 | } |
| 43 | |
| 44 | void assertFatalWithConfig( |
| 45 | const yoga::Config* const config, |
| 46 | const bool condition, |
| 47 | const char* message) { |
| 48 | if (!condition) { |
| 49 | yoga::log(config, LogLevel::Fatal, "%s\n", message); |
| 50 | fatalWithMessage(message); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | } // namespace facebook::yoga |
no test coverage detected