From b3db774efc8fda57bb785e5e5e6a90501e85107b Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Thu, 29 Nov 2007 19:52:22 +0000 Subject: [PATCH] ICU-5930 make layout engine compile with -DU_USING_ICU_NAMESPACE=0 X-SVN-Rev: 22983 --- icu4c/source/layout/loengine.h | 4 ++++ icu4c/source/layoutex/layout/playout.h | 4 ++++ icu4c/source/layoutex/layout/plruns.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/icu4c/source/layout/loengine.h b/icu4c/source/layout/loengine.h index 722dd32d84..817a514e5a 100644 --- a/icu4c/source/layout/loengine.h +++ b/icu4c/source/layout/loengine.h @@ -9,6 +9,8 @@ #include "LETypes.h" +U_NAMESPACE_BEGIN + /** * \file * \brief C API for complex text layout. @@ -220,4 +222,6 @@ U_INTERNAL void U_EXPORT2 le_reset(le_engine *engine, LEErrorCode *success); +U_NAMESPACE_END + #endif diff --git a/icu4c/source/layoutex/layout/playout.h b/icu4c/source/layoutex/layout/playout.h index 1d98e16e94..f036142f9a 100644 --- a/icu4c/source/layoutex/layout/playout.h +++ b/icu4c/source/layoutex/layout/playout.h @@ -17,6 +17,8 @@ #include "layout/LETypes.h" #include "plruns.h" +U_NAMESPACE_BEGIN + /** * \file * \brief C API for paragraph layout. @@ -460,5 +462,7 @@ pl_getVisualRunDescent(const pl_visualRun *run); U_INTERNAL le_int32 U_EXPORT2 pl_getVisualRunLeading(const pl_visualRun *run); +U_NAMESPACE_END + #endif #endif diff --git a/icu4c/source/layoutex/layout/plruns.h b/icu4c/source/layoutex/layout/plruns.h index e0cb9d684f..4a7499c072 100644 --- a/icu4c/source/layoutex/layout/plruns.h +++ b/icu4c/source/layoutex/layout/plruns.h @@ -13,6 +13,8 @@ #include "layout/loengine.h" +U_NAMESPACE_BEGIN + typedef void pl_fontRuns; typedef void pl_valueRuns; typedef void pl_localeRuns; @@ -425,4 +427,6 @@ pl_addLocaleRun(pl_localeRuns *localeRuns, const char *locale, le_int32 limit); +U_NAMESPACE_END + #endif