diff options
Diffstat (limited to 'builtins/string.h')
| -rw-r--r-- | builtins/string.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/builtins/string.h b/builtins/string.h index 1d6a91a4..c58c4468 100644 --- a/builtins/string.h +++ b/builtins/string.h @@ -4,16 +4,7 @@ #include <stdint.h> typedef struct { - char *data; - int64_t length:42; - uint8_t free:4, cow:1, atomic:1; - int16_t stride:16; -} Str_t; - -#define STRING(s) ((Str_t){.data=s, .length=(int32_t)(sizeof(s)), .stride=1, .free=0}) - -typedef struct { - Str_t *data; + CORD *data; unsigned long int length:42; unsigned short int free:4, cow:1, atomic:1; short int stride:16; |
