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