aboutsummaryrefslogtreecommitdiff
path: root/include/mbstring.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-16 10:39:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-16 10:49:21 +0200
commit402f5b4777897f0400a6a3e710452f6f64edb7d2 (patch)
treef49762ea36389ab6202be8076a73b5c08620dd32 /include/mbstring.h
parentc84f2f1b74d362054ecde1838cbc13a953cae8aa (diff)
Change private symbol prefix from ‘__’ to ‘_’
Diffstat (limited to 'include/mbstring.h')
-rw-r--r--include/mbstring.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/mbstring.h b/include/mbstring.h
index 7e3f453..b6a769c 100644
--- a/include/mbstring.h
+++ b/include/mbstring.h
@@ -3,10 +3,10 @@
#include <stddef.h>
-#include "__charN_t.h"
-#include "__qmacros.h"
-#include "__rune.h"
-#include "__u8view.h"
+#include "_charN_t.h"
+#include "_qmacros.h"
+#include "_rune.h"
+#include "_u8view.h"
#define U8V(s) ((struct u8view){.p = (s), .len = sizeof(s) - 1})
#define U8_ARGS(s) ((s).p), ((s).len)
@@ -51,8 +51,8 @@ int u8prev(rune *, const char8_t **, const char8_t *);
[[nodiscard]] size_t u8len(const char8_t *, size_t);
-#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))
+#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 */