diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/value.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/value.h b/include/value.h index d9c6354..7dd6d28 100644 --- a/include/value.h +++ b/include/value.h @@ -12,7 +12,7 @@ typedef enum { TSL_TYPE_NULL, TSL_TYPE_NUMBER, TSL_TYPE_STRING, - TSL_TYPE_STRING_VIEW, + TSL_TYPE_STRING_REF, TSL_TYPE_BOOL, TSL_TYPE_LIST, TSL_TYPE_MAP, @@ -29,7 +29,7 @@ typedef enum { } TslBool; typedef struct { - uint8_t *data; + char *data; size_t size; } TslString; @@ -40,7 +40,7 @@ struct TslValue { union { TslNumber number; TslString *string; - TslStringView string_view; + TslStringView string_ref; TslBool boolean; TslBool null; TslList *list; |