blob: 9c43f13e515f2ce3455ab0d7b66676e2e4d8197d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// utf8.h - UTF8 helper functions
//
#include "files.h"
#ifndef UTF8__H
#define UTF8__H
#define UTF8_MAXCHARLEN 4
__attribute__((nonnull, pure))
const char *next_char(file_t *f, const char *str);
__attribute__((nonnull, pure))
const char *prev_char(file_t *f, const char *str);
__attribute__((nonnull, pure))
bool isidstart(file_t *f, const char *str);
__attribute__((nonnull, pure))
bool isidcontinue(file_t *f, const char *str);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1
|