summaryrefslogtreecommitdiffstats
path: root/bytecode/byte_slice.h
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2023-02-11 21:31:04 -0800
committerRose Hogenson <rhogenson@posteo.net>2023-02-11 21:31:04 -0800
commit5989629a7951e544ad4656672025a99ecd08c7c9 (patch)
tree89e2ca80f73d8dcf16a9fadcea41b2e141bdf4eb /bytecode/byte_slice.h
parentSlightly simplify bytecode interpreter. (diff)
downloadsml-5989629a7951e544ad4656672025a99ecd08c7c9.tar.zst
Change how slices work.
I'm switching to a more macro-heavy solution. Hopefully it proves robust.
Diffstat (limited to 'bytecode/byte_slice.h')
-rw-r--r--bytecode/byte_slice.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bytecode/byte_slice.h b/bytecode/byte_slice.h
new file mode 100644
index 0000000..7109b52
--- /dev/null
+++ b/bytecode/byte_slice.h
@@ -0,0 +1,10 @@
+#ifndef _BYTE_SLICE_H_
+#define _BYTE_SLICE_H_
+
+#include <stdint.h>
+
+#include "slice.h"
+
+DEFINE_SLICE(uint8_t)
+
+#endif