| 95 | } |
| 96 | |
| 97 | void UncatchOpenCvErrs(void) // restore handler that was active before CatchOpenCvErrs |
| 98 | { |
| 99 | if (istack_g > 0) |
| 100 | cv::redirectError(stack_g[--istack_g]); |
| 101 | else // should never get here (call to UncatchErr without matching CatchErr) |
| 102 | printf("\nCallback stack overpop\n"); |
| 103 | } |
| 104 | |
| 105 | void Err(const char* format, ...) // args like printf, throws an exception |
| 106 | { |
no outgoing calls
no test coverage detected