ulib Add ARG_INT type to argument parser
This commit is contained in:
@ -10,7 +10,11 @@ size_t argslen(void);
|
||||
|
||||
typedef struct {
|
||||
char *shortname;
|
||||
enum { ARG_STRING, ARG_BOOL } expected_value;
|
||||
enum {
|
||||
ARG_STRING,
|
||||
ARG_BOOL,
|
||||
ARG_INT,
|
||||
} expected_value;
|
||||
void *ptr;
|
||||
bool end;
|
||||
} Arg;
|
||||
|
Reference in New Issue
Block a user