]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/unicode/umisc.h
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / umisc.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/*
4**********************************************************************
73c04bcf 5* Copyright (C) 1999-2006, International Business Machines
b75a7d8f
A
6* Corporation and others. All Rights Reserved.
7**********************************************************************
8* file name: umisc.h
f3c0d7a5 9* encoding: UTF-8
b75a7d8f
A
10* tab size: 8 (not used)
11* indentation:4
12*
13* created on: 1999oct15
14* created by: Markus W. Scherer
15*/
16
17#ifndef UMISC_H
18#define UMISC_H
19
20#include "unicode/utypes.h"
21
22/**
23 * \file
24 * \brief C API:misc definitions
25 *
26 * This file contains miscellaneous definitions for the C APIs.
27 */
73c04bcf
A
28
29U_CDECL_BEGIN
30
b75a7d8f
A
31/** A struct representing a range of text containing a specific field
32 * @stable ICU 2.0
33 */
34typedef struct UFieldPosition {
35 /**
36 * The field
37 * @stable ICU 2.0
38 */
39 int32_t field;
40 /**
41 * The start of the text range containing field
42 * @stable ICU 2.0
43 */
44 int32_t beginIndex;
45 /**
46 * The limit of the text range containing field
47 * @stable ICU 2.0
48 */
49 int32_t endIndex;
50} UFieldPosition;
51
73c04bcf
A
52#if !UCONFIG_NO_SERVICE
53/**
54 * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
55 * @stable ICU 2.6
56 */
57typedef const void* URegistryKey;
58#endif
59
60U_CDECL_END
61
b75a7d8f 62#endif