| 42 | } |
| 43 | |
| 44 | void Exit(int code) { |
| 45 | if (GetTestCounter() == 1) { |
| 46 | SetTestCounter(2); |
| 47 | } else { |
| 48 | ShutdownLibrary(); |
| 49 | exit(code); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | void SetTestCounter(int c) { gTestCounter = c; } |
| 54 | bool GetTestCounter() { return gTestCounter; } |
nothing calls this directly
no test coverage detected