ICU 70.1: umisc.h Source File

ICU 70.1 70.1

umisc.h
Go to the documentation of this file.
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3/*
4**********************************************************************
5* Copyright (C) 1999-2006, International Business Machines
6* Corporation and others. All Rights Reserved.
7**********************************************************************
8* file name: umisc.h
9* encoding: UTF-8
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
29 U_CDECL_BEGIN
30
34 typedef struct UFieldPosition {
39 int32_t field;
44 int32_t beginIndex;
49 int32_t endIndex;
50} UFieldPosition;
51
52#if !UCONFIG_NO_SERVICE
57 typedef const void* URegistryKey;
58#endif
59
60 U_CDECL_END
61
62#endif
UFieldPosition
A struct representing a range of text containing a specific field.
Definition: umisc.h:34
UFieldPosition::field
int32_t field
The field.
Definition: umisc.h:39
UFieldPosition::beginIndex
int32_t beginIndex
The start of the text range containing field.
Definition: umisc.h:44
UFieldPosition::endIndex
int32_t endIndex
The limit of the text range containing field.
Definition: umisc.h:49
U_CDECL_END
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
Definition: umachine.h:86
U_CDECL_BEGIN
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
Definition: umachine.h:85
UFieldPosition
struct UFieldPosition UFieldPosition
A struct representing a range of text containing a specific field.
URegistryKey
const void * URegistryKey
Opaque type returned by registerInstance, registerFactory and unregister for service registration.
Definition: umisc.h:57
utypes.h
Basic definitions for ICU, for both C and C++ APIs.