From 1c9ee7788b9d736371d60cd6ee83727286de2d1a Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Thu, 9 May 2019 13:53:57 -0400 Subject: [PATCH] Documentation edits --- doc/modules.dox | 1 + include/epanet2_2.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/modules.dox b/doc/modules.dox index f5912ab..29b12e5 100644 --- a/doc/modules.dox +++ b/doc/modules.dox @@ -379,6 +379,7 @@ When the Toolkit function @ref EN_solveH is used to make a hydraulic analysis, r | 254 | Function call refers to node with no coordinates | | 257 | Function call refers to nonexistent rule | | 258 | Function call refers to nonexistent rule clause | +| 259 | Function call attempts to delete a node that still has links connected to it | | 260 | Function call attempts to delete node assigned as a Trace Node | | 261 | Function call attempts to delete a node or link contained in a control | | 262 | Function call attempts to modify network structure while a solver is open | diff --git a/include/epanet2_2.h b/include/epanet2_2.h index 8759dd1..1ddd535 100644 --- a/include/epanet2_2.h +++ b/include/epanet2_2.h @@ -960,12 +960,13 @@ typedef struct Project *EN_Project; /** @brief Retrieves the index of a node's named demand category + @param ph an EPANET project handle. @param nodeIndex the index of a node (starting from 1) @param demandName the name of a demand category for the node @param[out] demandIndex the index of the demand being sought @return an error code */ - int DLLEXPORT EN_getdemandindex(EN_Project p, int nodeIndex, char *demandName, + int DLLEXPORT EN_getdemandindex(EN_Project ph, int nodeIndex, char *demandName, int *demandIndex); /**