aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unicode/set/category_ranges.h
blob: 10256d2e6e7f571f62145e58015431289c541a8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <util/charset/unidata.h>
#include <util/system/defaults.h>
#include <util/generic/strbuf.h>

namespace NUnicode {
    namespace NPrivate {
        struct TCategoryRanges {
            size_t Count;
            const wchar32* Data;
        };

        const TCategoryRanges& GetCategoryRanges(WC_TYPE cat);
        const TCategoryRanges& GetCategoryRanges(const TStringBuf& category);

    }
}