| 23 | namespace nvcvpy::util { |
| 24 | |
| 25 | void DoAssert(const char *file, int line, const char *cond) |
| 26 | { |
| 27 | #if NVCV_EXPOSE_CODE |
| 28 | fprintf(stderr, "Fatal assertion error on %s:%d: %s\n", file, line, cond); |
| 29 | #else |
| 30 | (void)file; |
| 31 | (void)line; |
| 32 | (void)cond; |
| 33 | fprintf(stderr, "Fatal assertion error\n"); |
| 34 | #endif |
| 35 | abort(); |
| 36 | } |
| 37 | |
| 38 | } // namespace nvcvpy::util |
nothing calls this directly
no outgoing calls
no test coverage detected