summaryrefslogtreecommitdiff
path: root/include/seqcmd.h
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-08-12 00:07:48 -0700
committerGitHub <noreply@github.com>2024-08-12 03:07:48 -0400
commite6bc4bd8cb66b2e7b946829b3892fd0d2967fde3 (patch)
tree577bcf5f89d620dbea0cac0ccb76e692becee90e /include/seqcmd.h
parent672728455d2ab5f46953660189523336acf5075d (diff)
Add names to all typedef'd structs, unions, and enums (#2028)
* Add names to all typedef'd structs, unions, and enums * wtf vs code * Use a better regex
Diffstat (limited to 'include/seqcmd.h')
-rw-r--r--include/seqcmd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/seqcmd.h b/include/seqcmd.h
index f6c42b701..b351346fe 100644
--- a/include/seqcmd.h
+++ b/include/seqcmd.h
@@ -5,7 +5,7 @@
#define SEQCMD_OP_MASK 0xF0000000
-typedef enum {
+typedef enum SeqCmdOp {
/* 0x0 */ SEQCMD_OP_PLAY_SEQUENCE,
/* 0x1 */ SEQCMD_OP_STOP_SEQUENCE,
/* 0x2 */ SEQCMD_OP_QUEUE_SEQUENCE,
@@ -27,7 +27,7 @@ typedef enum {
// ==== Secondary commands ====
// Subset of `SEQCMD_OP_TEMPO_CMD`
-typedef enum {
+typedef enum SeqCmdTempoCmdOp {
/* 0x0 */ SEQCMD_SUB_OP_TEMPO_SET,
/* 0x1 */ SEQCMD_SUB_OP_TEMPO_SPEED_UP,
/* 0x2 */ SEQCMD_SUB_OP_TEMPO_SLOW_DOWN,
@@ -36,7 +36,7 @@ typedef enum {
} SeqCmdTempoCmdOp;
// Subset of `SEQCMD_OP_SETUP_CMD`
-typedef enum {
+typedef enum SeqCmdSetupCmdOp {
/* 0x0 */ SEQCMD_SUB_OP_SETUP_RESTORE_SEQPLAYER_VOLUME,
/* 0x1 */ SEQCMD_SUB_OP_SETUP_SEQ_UNQUEUE,
/* 0x2 */ SEQCMD_SUB_OP_SETUP_RESTART_SEQ,
@@ -53,7 +53,7 @@ typedef enum {
} SeqCmdSetupCmdOp;
// Subset of `SEQCMD_OP_GLOBAL_CMD`
-typedef enum {
+typedef enum SeqCmdSubCmdOp {
/* 0x0 */ SEQCMD_SUB_OP_GLOBAL_SET_SOUND_MODE,
/* 0x1 */ SEQCMD_SUB_OP_GLOBAL_DISABLE_NEW_SEQUENCES
} SeqCmdSubCmdOp;