From 5989629a7951e544ad4656672025a99ecd08c7c9 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 11 Feb 2023 21:31:04 -0800 Subject: Change how slices work. I'm switching to a more macro-heavy solution. Hopefully it proves robust. --- bytecode/encoding.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bytecode/encoding.h') diff --git a/bytecode/encoding.h b/bytecode/encoding.h index fed187b..9d4da14 100644 --- a/bytecode/encoding.h +++ b/bytecode/encoding.h @@ -4,7 +4,7 @@ #include #include -#include "slice.h" +#include "byte_slice.h" #include "value.h" typedef uint8_t local; @@ -58,6 +58,6 @@ struct result { int n; }; -struct result parse(struct slice); +struct result parse(uint8_t_slice); #endif -- cgit v1.3.1