diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-12-16 11:58:36 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-12-16 11:58:36 +0000 |
| commit | f0b1de70e7b96668712746f028b41fcfa525d8fe (patch) | |
| tree | 19c3fe8a7c6cea693e969695cc6bb66a248bfef8 /runtime/src/strings.h | |
| parent | a4e0b7fb9643cba77e12df67d761dbc6950ab439 (diff) | |
Split out strings.h
Diffstat (limited to 'runtime/src/strings.h')
| -rw-r--r-- | runtime/src/strings.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <stdint.h> + +#include "./patio/patio.h" + +typedef PatioInt ShedStringLength; + +struct ShedString { + ShedStringLength length; + uint8_t data[]; +}; + +typedef struct ShedString* ShedString; + +#endif |
