blob: da75b98d0727ba7b793c043a77699b6ec496bda7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "__bsearch.h"
#include "rune.h"
#include "unicode/__gc.h"
#include "unicode/prop.h"
__MLIB_DEFINE_BSEARCH(enum uprop_gc, __mlib_gc_lt, GC_CN)
enum uprop_gc
uprop_get_gc(rune ch)
{
return ch <= LATIN1_MAX ? __mlib_gc_lat1_lt[ch] : mlib_lookup(ch);
}
|