intl/icu/source/common/unicode/umisc.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /*
michael@0 2 **********************************************************************
michael@0 3 * Copyright (C) 1999-2006, International Business Machines
michael@0 4 * Corporation and others. All Rights Reserved.
michael@0 5 **********************************************************************
michael@0 6 * file name: umisc.h
michael@0 7 * encoding: US-ASCII
michael@0 8 * tab size: 8 (not used)
michael@0 9 * indentation:4
michael@0 10 *
michael@0 11 * created on: 1999oct15
michael@0 12 * created by: Markus W. Scherer
michael@0 13 */
michael@0 14
michael@0 15 #ifndef UMISC_H
michael@0 16 #define UMISC_H
michael@0 17
michael@0 18 #include "unicode/utypes.h"
michael@0 19
michael@0 20 /**
michael@0 21 * \file
michael@0 22 * \brief C API:misc definitions
michael@0 23 *
michael@0 24 * This file contains miscellaneous definitions for the C APIs.
michael@0 25 */
michael@0 26
michael@0 27 U_CDECL_BEGIN
michael@0 28
michael@0 29 /** A struct representing a range of text containing a specific field
michael@0 30 * @stable ICU 2.0
michael@0 31 */
michael@0 32 typedef struct UFieldPosition {
michael@0 33 /**
michael@0 34 * The field
michael@0 35 * @stable ICU 2.0
michael@0 36 */
michael@0 37 int32_t field;
michael@0 38 /**
michael@0 39 * The start of the text range containing field
michael@0 40 * @stable ICU 2.0
michael@0 41 */
michael@0 42 int32_t beginIndex;
michael@0 43 /**
michael@0 44 * The limit of the text range containing field
michael@0 45 * @stable ICU 2.0
michael@0 46 */
michael@0 47 int32_t endIndex;
michael@0 48 } UFieldPosition;
michael@0 49
michael@0 50 #if !UCONFIG_NO_SERVICE
michael@0 51 /**
michael@0 52 * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
michael@0 53 * @stable ICU 2.6
michael@0 54 */
michael@0 55 typedef const void* URegistryKey;
michael@0 56 #endif
michael@0 57
michael@0 58 U_CDECL_END
michael@0 59
michael@0 60 #endif

mercurial