mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2024-11-15 17:40:56 +00:00
specify enum type
This commit is contained in:
parent
68c2022ad7
commit
a05b029e9d
@ -11,7 +11,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "voicemeeterRemote.h"
|
#include "voicemeeterRemote.h"
|
||||||
|
|
||||||
enum kind
|
enum kind : int
|
||||||
{
|
{
|
||||||
UNKNOWN = -1,
|
UNKNOWN = -1,
|
||||||
BASIC = 1,
|
BASIC = 1,
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
/**
|
/**
|
||||||
* @enum The kind of values a get call may return.
|
* @enum The kind of values a get call may return.
|
||||||
*/
|
*/
|
||||||
enum
|
enum restype : int
|
||||||
{
|
{
|
||||||
FLOAT_T,
|
FLOAT_T,
|
||||||
STRING_T,
|
STRING_T,
|
||||||
@ -50,7 +50,7 @@ enum
|
|||||||
*/
|
*/
|
||||||
struct result
|
struct result
|
||||||
{
|
{
|
||||||
int type;
|
enum restype type;
|
||||||
union val
|
union val
|
||||||
{
|
{
|
||||||
float f;
|
float f;
|
||||||
@ -60,7 +60,7 @@ struct result
|
|||||||
|
|
||||||
static bool vflag = false;
|
static bool vflag = false;
|
||||||
|
|
||||||
static void usage(void);
|
static void usage();
|
||||||
enum kind set_kind(char *kval);
|
enum kind set_kind(char *kval);
|
||||||
void interactive(PT_VMR vmr, bool with_prompt);
|
void interactive(PT_VMR vmr, bool with_prompt);
|
||||||
void parse_input(PT_VMR vmr, char *input);
|
void parse_input(PT_VMR vmr, char *input);
|
||||||
|
Loading…
Reference in New Issue
Block a user