Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

header-source API mismatch for EN_openOutputFile, EN_openReportFile #26

Open
jeffrey-newman opened this issue Apr 17, 2017 · 1 comment

Comments

@jeffrey-newman
Copy link

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

@LRossman
Copy link
Collaborator

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 LRossman reopened this Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants