]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/uset_imp.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 2004-2007, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: uset_imp.h
12 * tab size: 8 (not used)
15 * created on: 2004sep07
16 * created by: Markus W. Scherer
18 * Internal USet definitions.
21 #ifndef __USET_IMP_H__
22 #define __USET_IMP_H__
24 #include "unicode/utypes.h"
25 #include "unicode/uset.h"
29 typedef void U_CALLCONV
30 USetAdd(USet
*set
, UChar32 c
);
32 typedef void U_CALLCONV
33 USetAddRange(USet
*set
, UChar32 start
, UChar32 end
);
35 typedef void U_CALLCONV
36 USetAddString(USet
*set
, const UChar
*str
, int32_t length
);
38 typedef void U_CALLCONV
39 USetRemove(USet
*set
, UChar32 c
);
41 typedef void U_CALLCONV
42 USetRemoveRange(USet
*set
, UChar32 start
, UChar32 end
);
45 * Interface for adding items to a USet, to keep low-level code from
46 * statically depending on the USet implementation.
47 * Calls will look like sa->add(sa->set, c);
52 USetAddRange
*addRange
;
53 USetAddString
*addString
;
55 USetRemoveRange
*removeRange
;
57 typedef struct USetAdder USetAdder
;