diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 21:31:04 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 21:31:04 -0800 |
| commit | 5989629a7951e544ad4656672025a99ecd08c7c9 (patch) | |
| tree | 89e2ca80f73d8dcf16a9fadcea41b2e141bdf4eb /bytecode/encoding.h | |
| parent | aafc502de6f9ecbeb4638b1862f4fa5ac82199d7 (diff) | |
| download | sml-5989629a7951e544ad4656672025a99ecd08c7c9.tar.zst | |
Change how slices work.
I'm switching to a more macro-heavy solution. Hopefully it
proves robust.
Diffstat (limited to 'bytecode/encoding.h')
| -rw-r--r-- | bytecode/encoding.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdbool.h> #include <stdint.h> -#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 |
