]> granicus.if.org Git - icu/commitdiff
ICU-8246 add ifndef U_HIDE_DRAFT_API
authorMarkus Scherer <markus.icu@gmail.com>
Sat, 25 Feb 2012 01:31:14 +0000 (01:31 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Sat, 25 Feb 2012 01:31:14 +0000 (01:31 +0000)
X-SVN-Rev: 31513

icu4c/source/common/unicode/normalizer2.h
icu4c/source/common/unicode/unorm2.h

index c6567c8ae8f0910e678ba0d1bfef21b628efc514..bfca5ab8324ece2f0eddd41f003ee821df02699e 100644 (file)
@@ -83,6 +83,7 @@ public:
      */
     ~Normalizer2();
 
+#ifndef U_HIDE_DRAFT_API
     /**
      * Returns a Normalizer2 instance for Unicode NFC normalization.
      * Same as getInstance(NULL, "nfc", UNORM2_COMPOSE, errorCode).
@@ -152,6 +153,7 @@ public:
      */
     static const Normalizer2 *
     getNFKCCasefoldInstance(UErrorCode &errorCode);
+#endif  /* U_HIDE_DRAFT_API */
 
     /**
      * Returns a Normalizer2 instance which uses the specified data file
index 98e1ed46e50d3641ff2d57dbe2753cf81bed43cf..27f81915acc7b9500be99956ada1a9e0e2fd27a6 100644 (file)
@@ -118,6 +118,7 @@ typedef struct UNormalizer2 UNormalizer2;  /**< C typedef for struct UNormalizer
 
 #if !UCONFIG_NO_NORMALIZATION
 
+#ifndef U_HIDE_DRAFT_API
 /**
  * Returns a UNormalizer2 instance for Unicode NFC normalization.
  * Same as unorm2_getInstance(NULL, "nfc", UNORM2_COMPOSE, pErrorCode).
@@ -187,6 +188,7 @@ unorm2_getNFKDInstance(UErrorCode *pErrorCode);
  */
 U_DRAFT const UNormalizer2 * U_EXPORT2
 unorm2_getNFKCCasefoldInstance(UErrorCode *pErrorCode);
+#endif  /* U_HIDE_DRAFT_API */
 
 /**
  * Returns a UNormalizer2 instance which uses the specified data file