ICU-6255 move static variables below U_NAMESPACE_BEGIN.
X-SVN-Rev: 23822
This commit is contained in:
parent
2ea135aea5
commit
a5c9c6e123
@ -18,6 +18,8 @@
|
|||||||
#include "unicode/plurrule.h"
|
#include "unicode/plurrule.h"
|
||||||
#include "plurrule_impl.h"
|
#include "plurrule_impl.h"
|
||||||
|
|
||||||
|
U_NAMESPACE_BEGIN
|
||||||
|
|
||||||
#if !UCONFIG_NO_FORMATTING
|
#if !UCONFIG_NO_FORMATTING
|
||||||
|
|
||||||
U_CDECL_BEGIN
|
U_CDECL_BEGIN
|
||||||
@ -27,7 +29,6 @@ deleteHashStrings(void *obj) {
|
|||||||
}
|
}
|
||||||
U_CDECL_END
|
U_CDECL_END
|
||||||
|
|
||||||
U_NAMESPACE_BEGIN
|
|
||||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
|
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
|
||||||
|
|
||||||
#define MAX_KEYWORD_SIZE 30
|
#define MAX_KEYWORD_SIZE 30
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
#if !UCONFIG_NO_FORMATTING
|
#if !UCONFIG_NO_FORMATTING
|
||||||
|
|
||||||
|
U_NAMESPACE_BEGIN
|
||||||
|
|
||||||
// gPluralRuleLocaleHash is a global hash table that maps locale name to
|
// gPluralRuleLocaleHash is a global hash table that maps locale name to
|
||||||
// the pointer of PluralRule. gPluralRuleLocaleHash is built only once and
|
// the pointer of PluralRule. gPluralRuleLocaleHash is built only once and
|
||||||
// resides in the memory until end of application. We will remove the
|
// resides in the memory until end of application. We will remove the
|
||||||
@ -36,9 +38,6 @@
|
|||||||
// reachable, please ignore it.
|
// reachable, please ignore it.
|
||||||
static Hashtable *gPluralRuleLocaleHash=NULL;
|
static Hashtable *gPluralRuleLocaleHash=NULL;
|
||||||
|
|
||||||
|
|
||||||
U_NAMESPACE_BEGIN
|
|
||||||
|
|
||||||
#define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0])
|
#define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0])
|
||||||
|
|
||||||
// TODO: Plural rule data - will move to ResourceBundle.
|
// TODO: Plural rule data - will move to ResourceBundle.
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
#include "unicode/unistr.h"
|
#include "unicode/unistr.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
U_NAMESPACE_USE
|
||||||
|
|
||||||
static int tabCount = 0;
|
static int tabCount = 0;
|
||||||
|
|
||||||
static FileStream* out=NULL;
|
static FileStream* out=NULL;
|
||||||
@ -1256,3 +1258,4 @@ cleanup_bundle_write_xml:
|
|||||||
uprv_free(outputFileName);
|
uprv_free(outputFileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user