xref: /PHP-8.3/ext/intl/grapheme/grapheme.h (revision 66c4ade0)
1 /*
2    +----------------------------------------------------------------------+
3    | This source file is subject to version 3.01 of the PHP license,      |
4    | that is bundled with this package in the file LICENSE, and is        |
5    | available through the world-wide-web at the following url:           |
6    | https://www.php.net/license/3_01.txt                                 |
7    | If you did not receive a copy of the PHP license and are unable to   |
8    | obtain it through the world-wide-web, please send a note to          |
9    | license@php.net so we can mail you a copy immediately.               |
10    +----------------------------------------------------------------------+
11    | Authors: Ed Batutis <ed@batutis.com>                                 |
12    +----------------------------------------------------------------------+
13  */
14 
15 #ifndef GRAPHEME_GRAPHEME_H
16 #define GRAPHEME_GRAPHEME_H
17 
18 #include <php.h>
19 #include <unicode/utypes.h>
20 
21 void grapheme_close_global_iterator( void );
22 
23 #define GRAPHEME_EXTRACT_TYPE_COUNT		0
24 #define GRAPHEME_EXTRACT_TYPE_MAXBYTES	1
25 #define GRAPHEME_EXTRACT_TYPE_MAXCHARS	2
26 #define GRAPHEME_EXTRACT_TYPE_MIN	GRAPHEME_EXTRACT_TYPE_COUNT
27 #define GRAPHEME_EXTRACT_TYPE_MAX	GRAPHEME_EXTRACT_TYPE_MAXCHARS
28 
29 #endif // GRAPHEME_GRAPHEME_H
30