From f0b1de70e7b96668712746f028b41fcfa525d8fe Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 11:58:36 +0000 Subject: Split out strings.h --- runtime/src/strings.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 runtime/src/strings.h (limited to 'runtime/src/strings.h') diff --git a/runtime/src/strings.h b/runtime/src/strings.h new file mode 100644 index 00000000..3e964c71 --- /dev/null +++ b/runtime/src/strings.h @@ -0,0 +1,17 @@ +#ifndef SHED_STRINGS_H +#define SHED_STRINGS_H + +#include + +#include "./patio/patio.h" + +typedef PatioInt ShedStringLength; + +struct ShedString { + ShedStringLength length; + uint8_t data[]; +}; + +typedef struct ShedString* ShedString; + +#endif -- cgit v1.2.3