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

Function omError2Serror

omalloc/omError.c:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65const char* omError2Serror(omError_t error)
66{
67 int i = 0;
68 while (! (om_ErrorStrings[i].string == NULL && om_ErrorStrings[i].error == omError_MaxError))
69 {
70 if (om_ErrorStrings[i].error == error) return om_ErrorStrings[i].s_error;
71 i++;
72 }
73 return "omError_UnKnown";
74}
75
76#ifndef OM_NDEBUG
77int om_CallErrorHook = 1;

Callers 3

jjEXTENDED_SYSTEMFunction · 0.85
omtTestErrorsFunction · 0.85
omReportErrorFunction · 0.85

Calls

no outgoing calls

Tested by 1

omtTestErrorsFunction · 0.68