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

Unified Diff: source/common/ucnv_u32.c

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 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/ucnv_u16.c ('k') | source/common/ucnv_u7.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/ucnv_u32.c
diff --git a/source/common/ucnv_u32.c b/source/common/ucnv_u32.c
index 9bee9a460b1ef72d033ef40e005d76fb505f66d3..b0a0fe28529ed2a04a100d5a87e095874b9ded2c 100644
--- a/source/common/ucnv_u32.c
+++ b/source/common/ucnv_u32.c
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 2002-2015, International Business Machines
@@ -16,7 +18,7 @@
#include "unicode/utypes.h"
-#if !UCONFIG_NO_CONVERSION
+#if !UCONFIG_NO_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION
#include "unicode/ucnv.h"
#include "unicode/utf.h"
@@ -480,7 +482,10 @@ static const UConverterImpl _UTF32BEImpl = {
NULL,
NULL,
NULL,
- ucnv_getNonSurrogateUnicodeSet
+ ucnv_getNonSurrogateUnicodeSet,
+
+ NULL,
+ NULL
};
/* The 1232 CCSID refers to any version of Unicode with any endianess of UTF-32 */
@@ -972,7 +977,10 @@ static const UConverterImpl _UTF32LEImpl = {
NULL,
NULL,
NULL,
- ucnv_getNonSurrogateUnicodeSet
+ ucnv_getNonSurrogateUnicodeSet,
+
+ NULL,
+ NULL
};
/* The 1232 CCSID refers to any version of Unicode with any endianess of UTF-32 */
@@ -1214,7 +1222,10 @@ static const UConverterImpl _UTF32Impl = {
NULL,
NULL,
NULL,
- ucnv_getNonSurrogateUnicodeSet
+ ucnv_getNonSurrogateUnicodeSet,
+
+ NULL,
+ NULL
};
/* The 1236 CCSID refers to any version of Unicode with a BOM sensitive endianess of UTF-32 */
« no previous file with comments | « source/common/ucnv_u16.c ('k') | source/common/ucnv_u7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698