From bf0714ea2ae6ce229dc695d05a41bf50d1b6c4fa Mon Sep 17 00:00:00 2001 From: Mike Lowis Date: Mon, 17 Jun 2024 14:43:13 -0400 Subject: [PATCH] fix broken string data structure --- runtime.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime.h b/runtime.h index c18c973..67e24e1 100644 --- a/runtime.h +++ b/runtime.h @@ -50,6 +50,11 @@ typedef union { double as_double; } Value; +typedef struct { + uint64_t length; + uint8_t bytes[]; +} String; + typedef struct { uint64_t length; Value values[]; -- 2.54.0