Add str_view_t
This commit is contained in:
parent
76620b593a
commit
62f45b6a7f
@ -7,6 +7,8 @@
|
||||
#define VALID_JSON true
|
||||
#define INVALID_JSON false
|
||||
|
||||
typedef const char *const str_view_t;
|
||||
|
||||
typedef enum {
|
||||
TK_L_BRACE,
|
||||
TK_R_BRACE,
|
||||
@ -27,6 +29,7 @@ typedef union {
|
||||
void *no_val;
|
||||
i64 num_int;
|
||||
f64 num_frac;
|
||||
str_view_t string;
|
||||
} token_value_t;
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user