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.

     1 /*
     2 **********************************************************************
     3 *   Copyright (C) 1999-2006, 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 */
    15 #ifndef UMISC_H
    16 #define UMISC_H
    18 #include "unicode/utypes.h"
    20 /**
    21  * \file
    22  * \brief  C API:misc definitions 
    23  *
    24  *  This file contains miscellaneous definitions for the C APIs. 
    25  */
    27 U_CDECL_BEGIN
    29 /** A struct representing a range of text containing a specific field 
    30  *  @stable ICU 2.0
    31  */
    32 typedef struct UFieldPosition {
    33   /**
    34    * The field 
    35    * @stable ICU 2.0
    36    */
    37   int32_t field;
    38   /**
    39    * The start of the text range containing field 
    40    * @stable ICU 2.0
    41    */
    42   int32_t beginIndex;
    43   /** 
    44    * The limit of the text range containing field 
    45    * @stable ICU 2.0
    46    */
    47   int32_t endIndex;
    48 } UFieldPosition;
    50 #if !UCONFIG_NO_SERVICE
    51 /**
    52  * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
    53  * @stable ICU 2.6
    54  */
    55 typedef const void* URegistryKey;
    56 #endif
    58 U_CDECL_END
    60 #endif

mercurial