diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-30 01:51:14 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-30 01:51:14 +0100 |
commit | 042e43247f396a9000fead59d9bff87bf12806d6 (patch) | |
tree | e902784464cbe9ce3c5114d513b016523e7e4b29 /vendor/librune/include/builder.h | |
parent | 170b8a92434233241c990c3e9432786de3262bcd (diff) |
Completely revamp the grab source code
Some of the (many) few changes are:
- Multithreading for significantly faster performance
- The -p/--predicate flag
- Byte offsets as the default
- No customizable colors (maybe this will come back later)
- Newer edition of mlib (formerly librune)
Diffstat (limited to 'vendor/librune/include/builder.h')
-rw-r--r-- | vendor/librune/include/builder.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/librune/include/builder.h b/vendor/librune/include/builder.h deleted file mode 100644 index 271fcbf..0000000 --- a/vendor/librune/include/builder.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef RUNE_BUILDER_H -#define RUNE_BUILDER_H - -#define _RUNE_NEEDS_U8VIEW 1 -#include "internal/types.h" /* IWYU pragma: export */ - -struct u8str { - char8_t *p; - size_t len, cap; -}; - -struct u8str *u8strinit(struct u8str *, size_t); -struct u8str *u8strgrow(struct u8str *, size_t); -struct u8str *u8strfit(struct u8str *); -void u8strfree(struct u8str); - -struct u8str *u8strpushr(struct u8str *, rune); -struct u8str *u8strpushstr(struct u8str *, const char *); -struct u8str *u8strpushu8(struct u8str *, struct u8view); - -#define u8strpush(b, x) \ - _Generic((x), \ - char: u8strpushr, \ - int: u8strpushr, \ - rune: u8strpushr, \ - char *: u8strpushstr, \ - struct u8view: u8strpushu8)((b), (x)) - -#endif /* !RUNE_BUILDER_H */ |