| 40 | static int jmp_buf_index = 0; |
| 41 | |
| 42 | int PlatformSpecificSetJmp(void (*function) (void* data), void* data) |
| 43 | { |
| 44 | if (0 == setjmp(test_exit_jmp_buf[jmp_buf_index])) { |
| 45 | jmp_buf_index++; |
| 46 | function(data); |
| 47 | jmp_buf_index--; |
| 48 | return 1; |
| 49 | } |
| 50 | return 0; |
| 51 | } |
| 52 | |
| 53 | void PlatformSpecificLongJmp() |
| 54 | { |
no outgoing calls
no test coverage detected