]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/umisc.h
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / umisc.h
index d47fa3837d2f61935c79228b6219b7e6ca7ad3ab..213290b9afa33cfdbdb0605c79e550df333f5ccc 100644 (file)
@@ -1,10 +1,12 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 **********************************************************************
-*   Copyright (C) 1999-2003, International Business Machines
+*   Copyright (C) 1999-2006, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   file name:  umisc.h
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 *
@@ -23,7 +25,9 @@
  *
  *  This file contains miscellaneous definitions for the C APIs. 
  */
+
+U_CDECL_BEGIN
+
 /** A struct representing a range of text containing a specific field 
  *  @stable ICU 2.0
  */
@@ -45,4 +49,14 @@ typedef struct UFieldPosition {
   int32_t endIndex;
 } UFieldPosition;
 
+#if !UCONFIG_NO_SERVICE
+/**
+ * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
+ * @stable ICU 2.6
+ */
+typedef const void* URegistryKey;
+#endif
+
+U_CDECL_END
+
 #endif