epanet-dev icon indicating copy to clipboard operation
epanet-dev copied to clipboard

header-source API mismatch for EN_openOutputFile, EN_openReportFile

Open jeffrey-newman opened this issue 8 years ago • 1 comments

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); }

jeffrey-newman avatar Apr 17 '17 05:04 jeffrey-newman

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.

LRossman avatar Apr 17 '17 13:04 LRossman