From 6692c27aa8522763f29de82ef2773b4d0b4f21a5 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Sat, 25 Feb 2012 01:31:14 +0000 Subject: [PATCH] ICU-8246 add ifndef U_HIDE_DRAFT_API X-SVN-Rev: 31513 --- icu4c/source/common/unicode/normalizer2.h | 2 ++ icu4c/source/common/unicode/unorm2.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/icu4c/source/common/unicode/normalizer2.h b/icu4c/source/common/unicode/normalizer2.h index c6567c8ae8f..bfca5ab8324 100644 --- a/icu4c/source/common/unicode/normalizer2.h +++ b/icu4c/source/common/unicode/normalizer2.h @@ -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 diff --git a/icu4c/source/common/unicode/unorm2.h b/icu4c/source/common/unicode/unorm2.h index 98e1ed46e50..27f81915acc 100644 --- a/icu4c/source/common/unicode/unorm2.h +++ b/icu4c/source/common/unicode/unorm2.h @@ -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 -- 2.40.0