Merge pull request #670 from lbutler/doc-toolkit-usage-fix

Bug in example code for detecting error conditions

doxygen and html updates to follow.
This commit is contained in:
Elad Salomons
2022-04-05 08:36:01 +03:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ void runHydraulics(EN_Project ph, char *inputFile, char *reportFile)
ERRCODE(EN_solveH(ph));
ERRCODE(EN_saveH(ph));
ERRCODE(EN_report(ph));
EN_geterror(ph, errcode, errmsg);
EN_geterror(errcode, errmsg, EN_MAXMSG);
if (errcode) printf("\n%s\n", errmsg);
}
\endcode