aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/include/gbrk.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-21 03:03:58 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-21 03:03:58 +0100
commit4f93f935dc7a981ca073a322425c3f5929ffb644 (patch)
tree4460586408ec7fdfcecf3ba4584f0435067125a6 /vendor/librune/include/gbrk.h
parent72ea25a4d73e3e026366d4165f5bc4ec9e7418cb (diff)
Support line- & column-based match locations
Diffstat (limited to 'vendor/librune/include/gbrk.h')
-rw-r--r--vendor/librune/include/gbrk.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/librune/include/gbrk.h b/vendor/librune/include/gbrk.h
new file mode 100644
index 0000000..5eef882
--- /dev/null
+++ b/vendor/librune/include/gbrk.h
@@ -0,0 +1,10 @@
+#ifndef RUNE_GBRK_H
+#define RUNE_GBRK_H
+
+#define _RUNE_NEEDS_U8VIEW 1
+#include "internal/types.h" /* IWYU pragma: export */
+
+size_t u8glen(const char8_t *, size_t);
+const char8_t *u8gnext(struct u8view *, const char8_t **, size_t *);
+
+#endif /* !RUNE_GBRK_H */