diff --git a/src/epanet_py.c b/src/epanet_py.c index 5cba4a8..05e7a20 100644 --- a/src/epanet_py.c +++ b/src/epanet_py.c @@ -96,7 +96,7 @@ int EXPORT_PY_API proj_settitle(Handle ph, const char *line1, const char *line2, return error_set(pr->error, EN_settitle(pr->project, line1, line2, line3)); } -int EXPORT_PY_API rprt_getcount(Handle ph, EN_CountType code, int *count) +int EXPORT_PY_API proj_getcount(Handle ph, EN_CountType code, int *count) { handle_t *pr = (handle_t *)ph; return error_set(pr->error, EN_getcount(pr->project, code, count));