adds client callback API function

This commit is contained in:
Sam Hatchett
2022-07-27 16:37:49 -04:00
parent 44ad2488e4
commit 41887e9016
5 changed files with 37 additions and 1 deletions

View File

@@ -885,6 +885,12 @@ void writeline(Project *pr, char *s)
**--------------------------------------------------------------
*/
{
if (pr->report.reportCallback != NULL)
{
pr->report.reportCallback(pr->report.reportCallbackUserData, pr, s);
return;
}
Report *rpt = &pr->report;
if (rpt->RptFile == NULL) return;