Skip to content

Commit a1ec8e7

Browse files
committed
Fleshing out support for enum types
1 parent 6e88c0d commit a1ec8e7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

toolkit/epanet/toolkit/toolkit.i

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,12 @@ and return a (possibly) different pointer */
7676

7777
$1 = ($1_type)(val);
7878
}
79-
%apply EnumeratedType {EN_FlowUnits, EN_HeadLossType, EN_SaveOption,
80-
EN_StatusReport, EN_TimeProperty, EN_QualityType, EN_NodeType,
81-
EN_NodeProperty};
79+
%apply EnumeratedType {EN_NodeProperty, EN_LinkProperty, EN_TimeProperty,
80+
EN_AnalysisStatistic, EN_CountType, EN_NodeType, EN_LinkType, EN_QualityType,
81+
EN_SourceType, EN_HeadLossType, EN_FlowUnits, EN_DemandModel, EN_Option,
82+
EN_ControlType, EN_StatisticType, EN_MixingModel, EN_SaveOption, EN_PumpType,
83+
EN_CurveType, EN_ActionCodeType, EN_RuleObject, EN_RuleVariable,
84+
EN_RuleOperator, EN_RuleStatus, EN_StatusReport};
8285

8386

8487
/* MARK FUNCTIONS AS ALLOCATING AND DEALLOCATING MEMORY */

0 commit comments

Comments
 (0)