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

Function returnConstPointerValueOrDefault_c

src/CppUTestExt/MockSupport_c.cpp:979–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979const void* returnConstPointerValueOrDefault_c(const void * defaultValue)
980{
981 if (!hasReturnValue_c()) {
982 return defaultValue;
983 }
984 return constPointerReturnValue_c();
985}
986
987void (*functionPointerReturnValue_c())()
988{

Callers

nothing calls this directly

Calls 2

hasReturnValue_cFunction · 0.85

Tested by

no test coverage detected