annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/unicode/umisc.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 // © 2016 and later: Unicode, Inc. and others.
jpayne@69 2 // License & terms of use: http://www.unicode.org/copyright.html
jpayne@69 3 /*
jpayne@69 4 **********************************************************************
jpayne@69 5 * Copyright (C) 1999-2006, International Business Machines
jpayne@69 6 * Corporation and others. All Rights Reserved.
jpayne@69 7 **********************************************************************
jpayne@69 8 * file name: umisc.h
jpayne@69 9 * encoding: UTF-8
jpayne@69 10 * tab size: 8 (not used)
jpayne@69 11 * indentation:4
jpayne@69 12 *
jpayne@69 13 * created on: 1999oct15
jpayne@69 14 * created by: Markus W. Scherer
jpayne@69 15 */
jpayne@69 16
jpayne@69 17 #ifndef UMISC_H
jpayne@69 18 #define UMISC_H
jpayne@69 19
jpayne@69 20 #include "unicode/utypes.h"
jpayne@69 21
jpayne@69 22 /**
jpayne@69 23 * \file
jpayne@69 24 * \brief C API:misc definitions
jpayne@69 25 *
jpayne@69 26 * This file contains miscellaneous definitions for the C APIs.
jpayne@69 27 */
jpayne@69 28
jpayne@69 29 U_CDECL_BEGIN
jpayne@69 30
jpayne@69 31 /** A struct representing a range of text containing a specific field
jpayne@69 32 * @stable ICU 2.0
jpayne@69 33 */
jpayne@69 34 typedef struct UFieldPosition {
jpayne@69 35 /**
jpayne@69 36 * The field
jpayne@69 37 * @stable ICU 2.0
jpayne@69 38 */
jpayne@69 39 int32_t field;
jpayne@69 40 /**
jpayne@69 41 * The start of the text range containing field
jpayne@69 42 * @stable ICU 2.0
jpayne@69 43 */
jpayne@69 44 int32_t beginIndex;
jpayne@69 45 /**
jpayne@69 46 * The limit of the text range containing field
jpayne@69 47 * @stable ICU 2.0
jpayne@69 48 */
jpayne@69 49 int32_t endIndex;
jpayne@69 50 } UFieldPosition;
jpayne@69 51
jpayne@69 52 #if !UCONFIG_NO_SERVICE
jpayne@69 53 /**
jpayne@69 54 * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
jpayne@69 55 * @stable ICU 2.6
jpayne@69 56 */
jpayne@69 57 typedef const void* URegistryKey;
jpayne@69 58 #endif
jpayne@69 59
jpayne@69 60 U_CDECL_END
jpayne@69 61
jpayne@69 62 #endif