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

Function DosSetJmp

src/Platforms/Dos/UtestPlatform.cpp:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79extern "C" {
80
81static int DosSetJmp(void (*function) (void* data), void* data)
82{
83 if (0 == setjmp(test_exit_jmp_buf[jmp_buf_index])) {
84 jmp_buf_index++;
85 function(data);
86 jmp_buf_index--;
87 return 1;
88 }
89 return 0;
90}
91
92static void DosLongJmp()
93{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected