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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/common/unicode/umisc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,60 @@
     1.4 +/*
     1.5 +**********************************************************************
     1.6 +*   Copyright (C) 1999-2006, International Business Machines
     1.7 +*   Corporation and others.  All Rights Reserved.
     1.8 +**********************************************************************
     1.9 +*   file name:  umisc.h
    1.10 +*   encoding:   US-ASCII
    1.11 +*   tab size:   8 (not used)
    1.12 +*   indentation:4
    1.13 +*
    1.14 +*   created on: 1999oct15
    1.15 +*   created by: Markus W. Scherer
    1.16 +*/
    1.17 +
    1.18 +#ifndef UMISC_H
    1.19 +#define UMISC_H
    1.20 +
    1.21 +#include "unicode/utypes.h"
    1.22 +
    1.23 +/**
    1.24 + * \file
    1.25 + * \brief  C API:misc definitions 
    1.26 + *
    1.27 + *  This file contains miscellaneous definitions for the C APIs. 
    1.28 + */
    1.29 +
    1.30 +U_CDECL_BEGIN
    1.31 +
    1.32 +/** A struct representing a range of text containing a specific field 
    1.33 + *  @stable ICU 2.0
    1.34 + */
    1.35 +typedef struct UFieldPosition {
    1.36 +  /**
    1.37 +   * The field 
    1.38 +   * @stable ICU 2.0
    1.39 +   */
    1.40 +  int32_t field;
    1.41 +  /**
    1.42 +   * The start of the text range containing field 
    1.43 +   * @stable ICU 2.0
    1.44 +   */
    1.45 +  int32_t beginIndex;
    1.46 +  /** 
    1.47 +   * The limit of the text range containing field 
    1.48 +   * @stable ICU 2.0
    1.49 +   */
    1.50 +  int32_t endIndex;
    1.51 +} UFieldPosition;
    1.52 +
    1.53 +#if !UCONFIG_NO_SERVICE
    1.54 +/**
    1.55 + * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
    1.56 + * @stable ICU 2.6
    1.57 + */
    1.58 +typedef const void* URegistryKey;
    1.59 +#endif
    1.60 +
    1.61 +U_CDECL_END
    1.62 +
    1.63 +#endif

mercurial