fix typos in header comments

This commit is contained in:
0tkl
2025-05-14 16:02:06 +08:00
parent 13d075edb7
commit bd879cb557
4 changed files with 4 additions and 4 deletions

View File

@@ -220,7 +220,7 @@ Public Const EN_INITFLOW = 10 ' Re-initialize flow flag
Public Const EN_SAVE_AND_INIT = 11
Public Const EN_CONST_HP = 0 ' Constant horsepower pump curve
Public Const EN_POWER_FUNC = 1 ' Power function pump cuve
Public Const EN_POWER_FUNC = 1 ' Power function pump curve
Public Const EN_CUSTOM = 2 ' User-defined custom pump curve
Public Const EN_NOCURVE = 3 ' No pump curve

View File

@@ -18,7 +18,7 @@ set of thread safe API functions that allows one to run concurrent analyses on
multiple EPANET projects can be found in the epanet2_2.h header file. The two
APIs share the same function names and arguments with the difference being that
the thread safe functions use the prefix "EN_" and include an extra argument that
represents the EPANET project being analyzed. To avoid unneccesary repetition,
represents the EPANET project being analyzed. To avoid unnecessary repetition,
only the thread safe API functions have been documented. To see a description of
a legacy style API function declared here please refer to its complementary named
function in epanet2_2.h.

View File

@@ -754,7 +754,7 @@ typedef struct Project *EN_Project;
int DLLEXPORT EN_getoption(EN_Project ph, int option, double *out_value);
/**
@brief Sets the value for an anlysis option.
@brief Sets the value for an analysis option.
@param ph an EPANET project handle.
@param option a type of analysis option (see @ref EN_Option).
@param value the new value assigned to the option.

View File

@@ -447,7 +447,7 @@ should be taken if the node or link being deleted appears in any simple or rule-
controls or if a deleted node has any links connected to it.
*/
typedef enum {
EN_UNCONDITIONAL = 0, //!< Delete all controls and connecing links
EN_UNCONDITIONAL = 0, //!< Delete all controls and connecting links
EN_CONDITIONAL = 1 //!< Cancel object deletion if it appears in controls or has connecting links
} EN_ActionCodeType;