Making memorypool.c reentrant and adding test

This commit is contained in:
Michael Tryby
2018-08-30 15:30:34 -04:00
parent 7d374338a7
commit 21f40f0daf
6 changed files with 412 additions and 6 deletions

View File

@@ -1174,8 +1174,9 @@ extern "C" {
void DLLEXPORT EN_clearError(EN_ProjectHandle ph);
int DLLEXPORT EN_checkError(EN_ProjectHandle ph, char** msg_buffer);
//int DLLEXPORT EN_epanet(EN_ProjectHandle ph, const char *f1, const char *f2,
// const char *f3, void(*pviewprog)(char *));
int DLLEXPORT EN_runproject(EN_ProjectHandle ph, const char *f1, const char *f2,
const char *f3, void(*pviewprog)(char *));
int DLLEXPORT EN_init(EN_ProjectHandle *ph, char *rptFile, char *binOutFile,
EN_FlowUnits UnitsType, EN_FormType HeadlossFormula);