epanet-dev
epanet-dev copied to clipboard
header-source API mismatch for EN_openOutputFile, EN_openReportFile
In epanet3.h, we have these two functions declared: int EN_openOutputFile(const char* fname, EN_Project p); int EN_openReportFile(const char* fname, EN_Project p);
These do not seem to be defined, although in epanet3.cpp, we have definitions for:
int EN_openReport(const char* fname, EN_Project p) { return project(p)->openReport(fname); }
int EN_openOutput(const char* fname, EN_Project p) { return project(p)->openOutput(fname); }
The functions in question in epanet3.h should be named EN_openOutput and EN_openReport. These changes have been pushed onto the dev3 branch for testing.