Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: source/common/uresimp.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/uresdata.c ('k') | source/common/uscript_props.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/uresimp.h
diff --git a/source/common/uresimp.h b/source/common/uresimp.h
index 11c3fdd6a121b27024f722449c1e8683f3d7cd15..b8ec5a61cac83089e51a98dfe7fe2c7fc15f4b72 100644
--- a/source/common/uresimp.h
+++ b/source/common/uresimp.h
@@ -1,6 +1,6 @@
/*
**********************************************************************
-* Copyright (C) 2000-2011, International Business Machines
+* Copyright (C) 2000-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
@@ -32,17 +32,6 @@
#define EMPTY_SET 0x2205
-/*
-enum UResEntryType {
- ENTRY_OK = 0,
- ENTRY_GOTO_ROOT = 1,
- ENTRY_GOTO_DEFAULT = 2,
- ENTRY_INVALID = 3
-};
-
-typedef enum UResEntryType UResEntryType;
-*/
-
struct UResourceDataEntry;
typedef struct UResourceDataEntry UResourceDataEntry;
@@ -91,6 +80,17 @@ struct UResourceBundle {
U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
+/**
+ * Opens a resource bundle for the locale;
+ * if there is not even a base language bundle, then loads the root bundle;
+ * never falls back to the default locale.
+ *
+ * This is used for algorithms that have good pan-Unicode default behavior,
+ * such as case mappings, collation, and segmentation (BreakIterator).
+ */
+U_CAPI UResourceBundle* U_EXPORT2
+ures_openNoDefault(const char* path, const char* localeID, UErrorCode* status);
+
/* Some getters used by the copy constructor */
U_CFUNC const char* ures_getName(const UResourceBundle* resB);
#ifdef URES_DEBUG
« no previous file with comments | « source/common/uresdata.c ('k') | source/common/uscript_props.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698