equal
deleted
inserted
replaced
|
1 /* |
|
2 ********************************************************************** |
|
3 * Copyright (C) 1999-2003, International Business Machines |
|
4 * Corporation and others. All Rights Reserved. |
|
5 ********************************************************************** |
|
6 * file name: umisc.h |
|
7 * encoding: US-ASCII |
|
8 * tab size: 8 (not used) |
|
9 * indentation:4 |
|
10 * |
|
11 * created on: 1999oct15 |
|
12 * created by: Markus W. Scherer |
|
13 */ |
|
14 |
|
15 #ifndef UMISC_H |
|
16 #define UMISC_H |
|
17 |
|
18 #include "unicode/utypes.h" |
|
19 |
|
20 /** |
|
21 * \file |
|
22 * \brief C API:misc definitions |
|
23 * |
|
24 * This file contains miscellaneous definitions for the C APIs. |
|
25 */ |
|
26 |
|
27 /** A struct representing a range of text containing a specific field |
|
28 * @stable ICU 2.0 |
|
29 */ |
|
30 typedef struct UFieldPosition { |
|
31 /** |
|
32 * The field |
|
33 * @stable ICU 2.0 |
|
34 */ |
|
35 int32_t field; |
|
36 /** |
|
37 * The start of the text range containing field |
|
38 * @stable ICU 2.0 |
|
39 */ |
|
40 int32_t beginIndex; |
|
41 /** |
|
42 * The limit of the text range containing field |
|
43 * @stable ICU 2.0 |
|
44 */ |
|
45 int32_t endIndex; |
|
46 } UFieldPosition; |
|
47 |
|
48 #endif |