Update all parsers and related files to ctags p6.1.20240421.0
[geany-mirror.git] / ctags / main / utf8_str.h
blob90b44800bee1cb780017823aab3646a0545c9e6e
1 /*
3 * Copyright (c) 2023, Yinzuo Jiang
5 * This source code is released for free distribution under the terms of the
6 * GNU General Public License version 2 or (at your option) any later version.
8 * Defines functions for UTF-8 string manipulation.
9 * utf8_strlen is derived from parsers/rst.c
12 #ifndef CTAGS_MAIN_UTF8_STR_H
13 #define CTAGS_MAIN_UTF8_STR_H
16 * FUNCTION PROTOTYPES
19 extern int utf8_strlen (const char *buf, int buf_len);
20 extern int utf8_raw_strlen (const char *buf, int buf_len);
22 #endif /* CTAGS_MAIN_UTF8_STR_H */