specify enum type

This commit is contained in:
onyx-and-iris 2024-07-11 18:45:35 +01:00
parent 68c2022ad7
commit a05b029e9d
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
#include <stdbool.h>
#include "voicemeeterRemote.h"
enum kind
enum kind : int
{
UNKNOWN = -1,
BASIC = 1,

View File

@ -39,7 +39,7 @@
/**
* @enum The kind of values a get call may return.
*/
enum
enum restype : int
{
FLOAT_T,
STRING_T,
@ -50,7 +50,7 @@ enum
*/
struct result
{
int type;
enum restype type;
union val
{
float f;
@ -60,7 +60,7 @@ struct result
static bool vflag = false;
static void usage(void);
static void usage();
enum kind set_kind(char *kval);
void interactive(PT_VMR vmr, bool with_prompt);
void parse_input(PT_VMR vmr, char *input);