Helper function to print using either custom print func or fl::printf
| 501 | |
| 502 | // Helper function to print using either custom print func or fl::printf |
| 503 | void SerialReporter::print(const char* msg) FL_NOEXCEPT { |
| 504 | if (mPrintFunc) { |
| 505 | mPrintFunc(msg); |
| 506 | } else { |
| 507 | fl::printf("%s", msg); |
| 508 | } |
| 509 | } |
| 510 | |
| 511 | void SerialReporter::testRunStart() FL_NOEXCEPT { |
| 512 | print("\n"); |
no test coverage detected