diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-09 23:41:07 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-09 23:41:07 +0200 |
commit | ac9dc1ab69cdc2885bc80845b525963cecb825f8 (patch) | |
tree | 716545bc690ba4668dda98b451f30ae5f2b1ded6 /include | |
parent | 1396c95520f4fbafb045c1a5bb4b9be2dfd04072 (diff) |
Remove usages of __MLIB_NO_MACRO_WRAPPER
Diffstat (limited to 'include')
-rw-r--r-- | include/mbstring.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/mbstring.h b/include/mbstring.h index 0bf4685..277586e 100644 --- a/include/mbstring.h +++ b/include/mbstring.h @@ -53,10 +53,8 @@ int u8prev(rune *, const char8_t **, const char8_t *); [[__nodiscard__]] size_t u8len(const char8_t *, size_t); -#if !__MLIB_NO_MACRO_WRAPPER -# define u8chk(s, n) __MLIB_Q_PTR(char8_t, u8chk, (s), (s), (n)) -# define u8chr(s, n, ch) __MLIB_Q_PTR(char8_t, u8chr, (s), (s), (n), (ch)) -# define u8rchr(s, n, ch) __MLIB_Q_PTR(char8_t, u8rchr, (s), (s), (n), (ch)) -#endif +#define u8chk(s, n) __MLIB_Q_PTR(char8_t, u8chk, (s), (s), (n)) +#define u8chr(s, n, ch) __MLIB_Q_PTR(char8_t, u8chr, (s), (s), (n), (ch)) +#define u8rchr(s, n, ch) __MLIB_Q_PTR(char8_t, u8rchr, (s), (s), (n), (ch)) #endif /* !MLIB_MBSTRING_H */ |