MCPcopy Create free account
hub / github.com/Singular/Singular / _omCheckBin

Function _omCheckBin

omalloc/omDebugCheck.c:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49omError_t _omCheckBin(omBin bin, int what_bin, char check, omError_t report, OM_FLR_DECL)
50{
51 if (check <= 0) return omError_NoError;
52
53 omCheckReturn(check > 1 && _omCheckMemory(check - 1, (report ? report : omError_MemoryCorrupted), OM_FLR_VAL));
54
55 return omDoCheckBin(bin, what_bin, check, report, OM_FLR_VAL);
56}
57
58omError_t _omCheckMemory(char check, omError_t report, OM_FLR_DECL)
59{

Callers 3

_omDebugAllocFunction · 0.85
_omDebugFreeFunction · 0.85
_omDebugBinFunction · 0.85

Calls 2

_omCheckMemoryFunction · 0.85
omDoCheckBinFunction · 0.85

Tested by

no test coverage detected