mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 21:31:18 +00:00
Rename Gen_Dummy to Gen_last to clarify the purpose
This commit is contained in:
parent
b61abdd907
commit
359af770a3
1 changed files with 3 additions and 3 deletions
|
@ -174,11 +174,11 @@ typedef enum
|
|||
Gen_ScaleTune,
|
||||
Gen_ExclusiveClass,
|
||||
Gen_OverrideRootKey,
|
||||
Gen_Dummy
|
||||
Gen_Last /* Sentinel value, not a valid generator */
|
||||
} Gen_Type;
|
||||
|
||||
#define Gen_MaxValid Gen_Dummy - 1 /* maximum valid generator */
|
||||
#define Gen_Count Gen_Dummy /* count of generators */
|
||||
#define Gen_MaxValid Gen_Last - 1 /* maximum valid generator */
|
||||
#define Gen_Count Gen_Last /* count of generators */
|
||||
#define GenArrSize sizeof(SFGenAmount) * Gen_Count /* gen array size */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue