Update readme.md
[openttd-joker.git] / lib / shared / include / unicode / umisc.h
blobd85451fc767c05835f6c15f566f3562e2d4af834
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
11 * created on: 1999oct15
12 * created by: Markus W. Scherer
15 #ifndef UMISC_H
16 #define UMISC_H
18 #include "unicode/utypes.h"
20 /**
21 * \file
22 * \brief C API:misc definitions
24 * This file contains miscellaneous definitions for the C APIs.
27 U_CDECL_BEGIN
29 /** A struct representing a range of text containing a specific field
30 * @stable ICU 2.0
32 typedef struct UFieldPosition {
33 /**
34 * The field
35 * @stable ICU 2.0
37 int32_t field;
38 /**
39 * The start of the text range containing field
40 * @stable ICU 2.0
42 int32_t beginIndex;
43 /**
44 * The limit of the text range containing field
45 * @stable ICU 2.0
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
55 typedef const void* URegistryKey;
56 #endif
58 U_CDECL_END
60 #endif