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

Function C2000SetJmp

src/Platforms/C2000/UtestPlatform.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75extern "C" {
76
77static int C2000SetJmp(void (*function) (void* data), void* data)
78{
79 if (0 == setjmp(test_exit_jmp_buf[jmp_buf_index])) {
80 jmp_buf_index++;
81 function(data);
82 jmp_buf_index--;
83 return 1;
84 }
85 return 0;
86}
87
88static void C2000LongJmp()
89{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected