Loading...
Searching...
No Matches
umisc.h
Go to the documentation of this file.
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 1999-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: umisc.h
* encoding: UTF-8
* tab size: 8 (not used)
* indentation:4
*
* created on: 1999oct15
* created by: Markus W. Scherer
*/
#ifndef UMISC_H
#define UMISC_H
#include "unicode/utypes.h"
U_CDECL_BEGIN
typedef struct UFieldPosition {
int32_t field;
int32_t beginIndex;
int32_t endIndex;
} UFieldPosition;
#if !UCONFIG_NO_SERVICE
typedef const void* URegistryKey;
#endif
U_CDECL_END
#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
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.