updates function signatures to use int-casted enum

This commit is contained in:
Sam Hatchett
2023-01-19 09:50:50 -05:00
parent 9b3007ff55
commit 736f5ebdd4
4 changed files with 8 additions and 8 deletions

View File

@@ -642,11 +642,11 @@ typedef struct Project *EN_Project;
/**
@brief Get information about upcoming time step events, and what causes them.
@param ph an EPANET project handle.
@param[out] eventType the type of event that will occur.
@param[out] eventType the type of event that will occur (see @ref EN_TimestepEvent).
@param[out] duration the amount of time in the future this event will occur
@param[out] elementIndex the index of the element causing the event.
**/
int DLLEXPORT EN_timetonextevent(EN_Project ph, EN_TimestepEvent *eventType, long *duration, int *elementIndex);
int DLLEXPORT EN_timetonextevent(EN_Project ph, int *eventType, long *duration, int *elementIndex);
/**
@brief Retrieves the order in which a node or link appears in an @ref OutFile "output file".