]> granicus.if.org Git - icu/commitdiff
ICU-13667 Moves digits_t, DEFAULT_THRESHOLD, and copyErrorTo() outside of U_HIDE_INTE...
authorNorbert Runge <nrunge@google.com>
Wed, 30 May 2018 14:40:13 +0000 (14:40 +0000)
committerNorbert Runge <nrunge@google.com>
Wed, 30 May 2018 14:40:13 +0000 (14:40 +0000)
X-SVN-Rev: 41485

icu4c/source/i18n/unicode/numberformatter.h

index 7d99b990123dd84bc4477b155bcba7b9fe4fb8c2..a876a0e8ac3229ffffb9eb8d5ebb208197f95806 100644 (file)
@@ -108,7 +108,6 @@ class IntegerWidth;
 
 namespace impl {
 
-#ifndef U_HIDE_INTERNAL_API
 /**
  * Datatype for minimum/maximum fraction digits. Must be able to hold kMaxIntFracSig.
  *
@@ -123,7 +122,6 @@ typedef int16_t digits_t;
  * @internal
  */
 static constexpr int32_t DEFAULT_THRESHOLD = 3;
-#endif  // U_HIDE_INTERNAL_API
 
 // Forward declarations:
 class Padder;
@@ -1164,6 +1162,8 @@ class U_I18N_API SymbolsWrapper : public UMemory {
      */
     const NumberingSystem *getNumberingSystem() const;
 
+#endif  // U_HIDE_INTERNAL_API
+
     /** @internal */
     UBool copyErrorTo(UErrorCode &status) const {
         if (fType == SYMPTR_DFS && fPtr.dfs == nullptr) {
@@ -1176,8 +1176,6 @@ class U_I18N_API SymbolsWrapper : public UMemory {
         return FALSE;
     }
 
-#endif  // U_HIDE_INTERNAL_API
-
   private:
     enum SymbolsPointerType {
         SYMPTR_NONE, SYMPTR_DFS, SYMPTR_NS