diff options
| author | Tyge Løvset <[email protected]> | 2022-04-06 18:39:17 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-06 18:39:17 +0200 |
| commit | 3fea4e0b232f7371628944587e561626503fb5fb (patch) | |
| tree | d132bd6ff15ca5bbd469af7bd20dd4e38d2f4526 /include/stc/forward.h | |
| parent | d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3 (diff) | |
| download | STC-modified-3fea4e0b232f7371628944587e561626503fb5fb.tar.gz STC-modified-3fea4e0b232f7371628944587e561626503fb5fb.zip | |
Refactoring cbits.h and sso alt/cstr.h
Diffstat (limited to 'include/stc/forward.h')
| -rw-r--r-- | include/stc/forward.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/forward.h b/include/stc/forward.h index 06ec3897..2351176a 100644 --- a/include/stc/forward.h +++ b/include/stc/forward.h @@ -46,7 +46,7 @@ typedef struct { char* data; size_t size, cap; } cstr_rep_t; typedef char cstr_value;
#ifdef STC_USE_SSO
typedef union {
- struct { char data[sizeof(cstr_rep_t) - 1]; uint8_t last; } sso;
+ struct { char data[sizeof(cstr_rep_t) - 1]; uint8_t last; } sml;
struct { char* data; size_t size, ncap; } lon;
} cstr;
#else
|
