1 /* See LICENSE file for copyright and license details. */
5 #include "../gen/types.h"
7 #define LEN(x) (sizeof(x) / sizeof(*(x)))
10 #if __has_attribute(optnone)
11 void libgrapheme(const void *) __attribute__((optnone));
12 void libutf8proc(const void *) __attribute__((optnone));
16 uint_least32_t *generate_cp_test_buffer(const struct break_test *, size_t,
18 char *generate_utf8_test_buffer(const struct break_test *, size_t, size_t *);
20 void run_benchmark(void (*func)(const void *), const void *, const char *,
21 const char *, const char *, double *, size_t, size_t);