MCPcopy Create free account
hub / github.com/cpputest/cpputest / PlatformSpecificSetJmp

Function PlatformSpecificSetJmp

src/Platforms/Symbian/UtestPlatform.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40static int jmp_buf_index = 0;
41
42int 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
53void PlatformSpecificLongJmp()
54{

Callers 2

runOneTestMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected