aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-20 23:44:24 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-21 00:41:17 +0200
commit0553e9b92589a51a1b771da4a2001123cc8699cc (patch)
tree6a0e2e5cb9a1b4cb71e761be713507f4447df53d /include
parent7e195fc95cdb0f3bf95e25967ddd00d9cf246fc0 (diff)
Rename ‘sv’ to ‘p’
Diffstat (limited to 'include')
-rw-r--r--include/mbstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbstring.h b/include/mbstring.h
index 898bdca..a2e0d19 100644
--- a/include/mbstring.h
+++ b/include/mbstring.h
@@ -55,8 +55,8 @@ rune u8cut(struct u8view *restrict, struct u8view *restrict, const rune *,
#define rtoucs(buf, bufsz, ch) \
_Generic((buf), char8_t *: rtou8)((buf), (bufsz), (ch))
#define ucsnext(ch, sv) _Generic((sv), struct u8view *: u8next)((ch), (sv))
-#define ucsprev(ch, sv, start) \
- _Generic((sv), const char8_t **: u8prev)((ch), (sv), (start))
+#define ucsprev(ch, p, start) \
+ _Generic((p), const char8_t **: u8prev)((ch), (p), (start))
#define ucstor(ch, p) \
_Generic((p), char8_t *: u8tor, const char8_t *: u8tor)((ch), (p))
#define ucshaspfx(sv, pfx) _Generic((sv), struct u8view: u8haspfx)((sv), (pfx))