Documentation edits

This commit is contained in:
Lew Rossman
2019-05-09 13:53:57 -04:00
parent 21ff7c009e
commit 1c9ee7788b
2 changed files with 3 additions and 1 deletions

View File

@@ -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 | | 254 | Function call refers to node with no coordinates |
| 257 | Function call refers to nonexistent rule | | 257 | Function call refers to nonexistent rule |
| 258 | Function call refers to nonexistent rule clause | | 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 | | 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 | | 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 | | 262 | Function call attempts to modify network structure while a solver is open |

View File

@@ -960,12 +960,13 @@ typedef struct Project *EN_Project;
/** /**
@brief Retrieves the index of a node's named demand category @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 nodeIndex the index of a node (starting from 1)
@param demandName the name of a demand category for the node @param demandName the name of a demand category for the node
@param[out] demandIndex the index of the demand being sought @param[out] demandIndex the index of the demand being sought
@return an error code @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); int *demandIndex);
/** /**