Add str_view_t

This commit is contained in:
Abdelrahman Said 2023-06-20 21:55:59 +01:00
parent 76620b593a
commit 62f45b6a7f

View File

@ -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 {