libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

util.h (381B)


      1 /* See LICENSE file for copyright and license details. */
      2 #ifndef UTIL_H
      3 #define UTIL_H
      4 
      5 #include "../gen/types.h"
      6 #include "../grapheme.h"
      7 
      8 #define LEN(x) (sizeof(x) / sizeof(*(x)))
      9 
     10 int run_break_tests(size_t (*next_break)(const uint_least32_t *, size_t),
     11                     const struct break_test *test, size_t testlen,
     12                     const char *);
     13 
     14 #endif /* UTIL_H */