author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
sl@0 | 1 |
/* |
sl@0 | 2 |
********************************************************************** |
sl@0 | 3 |
* Copyright (C) 1999-2003, International Business Machines |
sl@0 | 4 |
* Corporation and others. All Rights Reserved. |
sl@0 | 5 |
********************************************************************** |
sl@0 | 6 |
* file name: umisc.h |
sl@0 | 7 |
* encoding: US-ASCII |
sl@0 | 8 |
* tab size: 8 (not used) |
sl@0 | 9 |
* indentation:4 |
sl@0 | 10 |
* |
sl@0 | 11 |
* created on: 1999oct15 |
sl@0 | 12 |
* created by: Markus W. Scherer |
sl@0 | 13 |
*/ |
sl@0 | 14 |
|
sl@0 | 15 |
#ifndef UMISC_H |
sl@0 | 16 |
#define UMISC_H |
sl@0 | 17 |
|
sl@0 | 18 |
#include "unicode/utypes.h" |
sl@0 | 19 |
|
sl@0 | 20 |
/** |
sl@0 | 21 |
* \file |
sl@0 | 22 |
* \brief C API:misc definitions |
sl@0 | 23 |
* |
sl@0 | 24 |
* This file contains miscellaneous definitions for the C APIs. |
sl@0 | 25 |
*/ |
sl@0 | 26 |
|
sl@0 | 27 |
/** A struct representing a range of text containing a specific field |
sl@0 | 28 |
* @stable ICU 2.0 |
sl@0 | 29 |
*/ |
sl@0 | 30 |
typedef struct UFieldPosition { |
sl@0 | 31 |
/** |
sl@0 | 32 |
* The field |
sl@0 | 33 |
* @stable ICU 2.0 |
sl@0 | 34 |
*/ |
sl@0 | 35 |
int32_t field; |
sl@0 | 36 |
/** |
sl@0 | 37 |
* The start of the text range containing field |
sl@0 | 38 |
* @stable ICU 2.0 |
sl@0 | 39 |
*/ |
sl@0 | 40 |
int32_t beginIndex; |
sl@0 | 41 |
/** |
sl@0 | 42 |
* The limit of the text range containing field |
sl@0 | 43 |
* @stable ICU 2.0 |
sl@0 | 44 |
*/ |
sl@0 | 45 |
int32_t endIndex; |
sl@0 | 46 |
} UFieldPosition; |
sl@0 | 47 |
|
sl@0 | 48 |
#endif |