]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/ures.h
ICU-59173.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / ures.h
index 190a5050aefc4cfbde2b55df384a7d577b13b9f5..264adf29c37028a3c8ba2384517a9fb3d05c64c8 100644 (file)
@@ -1,3 +1,5 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 **********************************************************************
 *   Copyright (C) 1997-2016, International Business Machines
@@ -120,9 +122,13 @@ typedef enum {
     RES_INT_VECTOR=URES_INT_VECTOR,
     /** @deprecated ICU 2.6 Not used. */
     RES_RESERVED=15,
-#endif /* U_HIDE_DEPRECATED_API */
 
+    /**
+     * One more than the highest normal UResType value.
+     * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
+     */
     URES_LIMIT = 16
+#endif  // U_HIDE_DEPRECATED_API
 } UResType;
 
 /*
@@ -259,7 +265,7 @@ U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_c
 
 U_NAMESPACE_END
 
-#endif
+#endif // U_SHOW_CPLUSPLUS_API
 
 #ifndef U_HIDE_DEPRECATED_API
 /**
@@ -884,7 +890,7 @@ ures_getUnicodeStringByKey(const UResourceBundle *resB, const char* key, UErrorC
 
 U_NAMESPACE_END
 
-#endif
+#endif // U_SHOW_CPLUSPLUS_API
 
 /**
  * Create a string enumerator, owned by the caller, of all locales located within