summaryrefslogtreecommitdiffhomepage
path: root/include/stc/forward.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-06 18:39:17 +0200
committerTyge Løvset <[email protected]>2022-04-06 18:39:17 +0200
commit3fea4e0b232f7371628944587e561626503fb5fb (patch)
treed132bd6ff15ca5bbd469af7bd20dd4e38d2f4526 /include/stc/forward.h
parentd1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3 (diff)
downloadSTC-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.h2
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