Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/unicode/umisc.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // © 2016 and later: Unicode, Inc. and others.
0002 // License & terms of use: http://www.unicode.org/copyright.html
0003 /*
0004 **********************************************************************
0005 *   Copyright (C) 1999-2006, International Business Machines
0006 *   Corporation and others.  All Rights Reserved.
0007 **********************************************************************
0008 *   file name:  umisc.h
0009 *   encoding:   UTF-8
0010 *   tab size:   8 (not used)
0011 *   indentation:4
0012 *
0013 *   created on: 1999oct15
0014 *   created by: Markus W. Scherer
0015 */
0016 
0017 #ifndef UMISC_H
0018 #define UMISC_H
0019 
0020 #include "unicode/utypes.h"
0021 
0022 /**
0023  * \file
0024  * \brief C API: Miscellaneous definitions
0025  *
0026  *  This file contains miscellaneous definitions for the C APIs.
0027  */
0028 
0029 U_CDECL_BEGIN
0030 
0031 /** A struct representing a range of text containing a specific field 
0032  *  @stable ICU 2.0
0033  */
0034 typedef struct UFieldPosition {
0035   /**
0036    * The field 
0037    * @stable ICU 2.0
0038    */
0039   int32_t field;
0040   /**
0041    * The start of the text range containing field 
0042    * @stable ICU 2.0
0043    */
0044   int32_t beginIndex;
0045   /** 
0046    * The limit of the text range containing field 
0047    * @stable ICU 2.0
0048    */
0049   int32_t endIndex;
0050 } UFieldPosition;
0051 
0052 #if !UCONFIG_NO_SERVICE
0053 /**
0054  * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
0055  * @stable ICU 2.6
0056  */
0057 typedef const void* URegistryKey;
0058 #endif
0059 
0060 U_CDECL_END
0061 
0062 #endif