From 3fea4e0b232f7371628944587e561626503fb5fb Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 6 Apr 2022 18:39:17 +0200 Subject: Refactoring cbits.h and sso alt/cstr.h --- include/stc/forward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stc/forward.h') 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 -- cgit v1.2.3