pango 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +9 -4
- data/ext/pango/rbpangolayoutline.c +6 -2
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/sample/layout.rb +1 -1
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +18 -13
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-font.h +5 -0
- data/vendor/local/include/harfbuzz/hb-glib.h +2 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +19 -0
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +19 -0
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/unicode/alphaindex.h +2 -0
- data/vendor/local/include/unicode/appendable.h +2 -0
- data/vendor/local/include/unicode/basictz.h +2 -0
- data/vendor/local/include/unicode/brkiter.h +7 -0
- data/vendor/local/include/unicode/bytestream.h +2 -0
- data/vendor/local/include/unicode/bytestrie.h +3 -2
- data/vendor/local/include/unicode/bytestriebuilder.h +4 -4
- data/vendor/local/include/unicode/calendar.h +2 -0
- data/vendor/local/include/unicode/caniter.h +2 -0
- data/vendor/local/include/unicode/chariter.h +2 -0
- data/vendor/local/include/unicode/choicfmt.h +2 -0
- data/vendor/local/include/unicode/coleitr.h +2 -0
- data/vendor/local/include/unicode/coll.h +2 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +4 -3
- data/vendor/local/include/unicode/curramt.h +2 -0
- data/vendor/local/include/unicode/currpinf.h +2 -0
- data/vendor/local/include/unicode/currunit.h +2 -0
- data/vendor/local/include/unicode/datefmt.h +2 -0
- data/vendor/local/include/unicode/dbbi.h +2 -0
- data/vendor/local/include/unicode/dcfmtsym.h +2 -0
- data/vendor/local/include/unicode/decimfmt.h +9 -5
- data/vendor/local/include/unicode/docmain.h +3 -1
- data/vendor/local/include/unicode/dtfmtsym.h +26 -14
- data/vendor/local/include/unicode/dtintrv.h +2 -0
- data/vendor/local/include/unicode/dtitvfmt.h +2 -0
- data/vendor/local/include/unicode/dtitvinf.h +8 -3
- data/vendor/local/include/unicode/dtptngen.h +13 -9
- data/vendor/local/include/unicode/dtrule.h +2 -0
- data/vendor/local/include/unicode/enumset.h +2 -0
- data/vendor/local/include/unicode/errorcode.h +2 -0
- data/vendor/local/include/unicode/fieldpos.h +5 -2
- data/vendor/local/include/unicode/filteredbrk.h +10 -12
- data/vendor/local/include/unicode/fmtable.h +4 -2
- data/vendor/local/include/unicode/format.h +2 -0
- data/vendor/local/include/unicode/fpositer.h +2 -0
- data/vendor/local/include/unicode/gender.h +2 -0
- data/vendor/local/include/unicode/gregocal.h +2 -0
- data/vendor/local/include/unicode/icudataver.h +2 -0
- data/vendor/local/include/unicode/icuplug.h +12 -2
- data/vendor/local/include/unicode/idna.h +6 -4
- data/vendor/local/include/unicode/listformatter.h +2 -0
- data/vendor/local/include/unicode/localpointer.h +19 -28
- data/vendor/local/include/unicode/locdspnm.h +2 -0
- data/vendor/local/include/unicode/locid.h +2 -0
- data/vendor/local/include/unicode/measfmt.h +21 -2
- data/vendor/local/include/unicode/measunit.h +50 -24
- data/vendor/local/include/unicode/measure.h +2 -0
- data/vendor/local/include/unicode/messagepattern.h +2 -0
- data/vendor/local/include/unicode/msgfmt.h +2 -0
- data/vendor/local/include/unicode/normalizer2.h +2 -0
- data/vendor/local/include/unicode/normlzr.h +4 -4
- data/vendor/local/include/unicode/numfmt.h +8 -6
- data/vendor/local/include/unicode/numsys.h +2 -0
- data/vendor/local/include/unicode/parseerr.h +2 -0
- data/vendor/local/include/unicode/parsepos.h +2 -0
- data/vendor/local/include/unicode/platform.h +8 -0
- data/vendor/local/include/unicode/plurfmt.h +2 -0
- data/vendor/local/include/unicode/plurrule.h +2 -0
- data/vendor/local/include/unicode/ptypes.h +2 -0
- data/vendor/local/include/unicode/putil.h +2 -0
- data/vendor/local/include/unicode/rbbi.h +18 -66
- data/vendor/local/include/unicode/rbnf.h +8 -0
- data/vendor/local/include/unicode/rbtz.h +2 -0
- data/vendor/local/include/unicode/regex.h +2 -0
- data/vendor/local/include/unicode/region.h +3 -1
- data/vendor/local/include/unicode/reldatefmt.h +19 -9
- data/vendor/local/include/unicode/rep.h +2 -0
- data/vendor/local/include/unicode/resbund.h +2 -0
- data/vendor/local/include/unicode/schriter.h +2 -0
- data/vendor/local/include/unicode/scientificnumberformatter.h +2 -0
- data/vendor/local/include/unicode/search.h +2 -0
- data/vendor/local/include/unicode/selfmt.h +2 -0
- data/vendor/local/include/unicode/simpleformatter.h +2 -0
- data/vendor/local/include/unicode/simpletz.h +2 -0
- data/vendor/local/include/unicode/smpdtfmt.h +9 -1
- data/vendor/local/include/unicode/sortkey.h +2 -0
- data/vendor/local/include/unicode/std_string.h +2 -0
- data/vendor/local/include/unicode/strenum.h +2 -0
- data/vendor/local/include/unicode/stringpiece.h +5 -3
- data/vendor/local/include/unicode/stringtriebuilder.h +13 -1
- data/vendor/local/include/unicode/stsearch.h +2 -0
- data/vendor/local/include/unicode/symtable.h +2 -0
- data/vendor/local/include/unicode/tblcoll.h +3 -1
- data/vendor/local/include/unicode/timezone.h +2 -0
- data/vendor/local/include/unicode/tmunit.h +8 -0
- data/vendor/local/include/unicode/tmutamt.h +2 -0
- data/vendor/local/include/unicode/tmutfmt.h +5 -0
- data/vendor/local/include/unicode/translit.h +2 -0
- data/vendor/local/include/unicode/tzfmt.h +2 -0
- data/vendor/local/include/unicode/tznames.h +16 -2
- data/vendor/local/include/unicode/tzrule.h +2 -0
- data/vendor/local/include/unicode/tztrans.h +2 -0
- data/vendor/local/include/unicode/ubidi.h +20 -8
- data/vendor/local/include/unicode/ubiditransform.h +321 -0
- data/vendor/local/include/unicode/ubrk.h +26 -7
- data/vendor/local/include/unicode/ucal.h +8 -4
- data/vendor/local/include/unicode/ucasemap.h +2 -0
- data/vendor/local/include/unicode/ucat.h +2 -0
- data/vendor/local/include/unicode/uchar.h +244 -17
- data/vendor/local/include/unicode/ucharstrie.h +2 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +2 -0
- data/vendor/local/include/unicode/uchriter.h +2 -0
- data/vendor/local/include/unicode/uclean.h +2 -0
- data/vendor/local/include/unicode/ucnv.h +8 -1
- data/vendor/local/include/unicode/ucnv_cb.h +2 -0
- data/vendor/local/include/unicode/ucnv_err.h +2 -0
- data/vendor/local/include/unicode/ucnvsel.h +2 -0
- data/vendor/local/include/unicode/ucol.h +28 -11
- data/vendor/local/include/unicode/ucoleitr.h +2 -0
- data/vendor/local/include/unicode/uconfig.h +2 -0
- data/vendor/local/include/unicode/ucsdet.h +2 -0
- data/vendor/local/include/unicode/ucurr.h +5 -1
- data/vendor/local/include/unicode/udat.h +13 -11
- data/vendor/local/include/unicode/udata.h +8 -1
- data/vendor/local/include/unicode/udateintervalformat.h +2 -0
- data/vendor/local/include/unicode/udatpg.h +15 -2
- data/vendor/local/include/unicode/udisplaycontext.h +34 -2
- data/vendor/local/include/unicode/uenum.h +2 -0
- data/vendor/local/include/unicode/ufieldpositer.h +4 -2
- data/vendor/local/include/unicode/uformattable.h +9 -1
- data/vendor/local/include/unicode/ugender.h +2 -0
- data/vendor/local/include/unicode/uidna.h +2 -0
- data/vendor/local/include/unicode/uiter.h +2 -0
- data/vendor/local/include/unicode/uldnames.h +2 -0
- data/vendor/local/include/unicode/ulistformatter.h +2 -0
- data/vendor/local/include/unicode/uloc.h +9 -3
- data/vendor/local/include/unicode/ulocdata.h +20 -2
- data/vendor/local/include/unicode/umachine.h +25 -0
- data/vendor/local/include/unicode/umisc.h +2 -0
- data/vendor/local/include/unicode/umsg.h +2 -0
- data/vendor/local/include/unicode/unifilt.h +2 -0
- data/vendor/local/include/unicode/unifunct.h +2 -0
- data/vendor/local/include/unicode/unimatch.h +2 -0
- data/vendor/local/include/unicode/unirepl.h +2 -0
- data/vendor/local/include/unicode/uniset.h +3 -1
- data/vendor/local/include/unicode/unistr.h +12 -14
- data/vendor/local/include/unicode/unorm.h +6 -2
- data/vendor/local/include/unicode/unorm2.h +2 -0
- data/vendor/local/include/unicode/unum.h +28 -10
- data/vendor/local/include/unicode/unumsys.h +2 -0
- data/vendor/local/include/unicode/uobject.h +2 -0
- data/vendor/local/include/unicode/upluralrules.h +6 -2
- data/vendor/local/include/unicode/uregex.h +2 -0
- data/vendor/local/include/unicode/uregion.h +6 -2
- data/vendor/local/include/unicode/ureldatefmt.h +13 -7
- data/vendor/local/include/unicode/urename.h +16 -4
- data/vendor/local/include/unicode/urep.h +2 -0
- data/vendor/local/include/unicode/ures.h +7 -1
- data/vendor/local/include/unicode/uscript.h +41 -29
- data/vendor/local/include/unicode/usearch.h +10 -4
- data/vendor/local/include/unicode/uset.h +5 -1
- data/vendor/local/include/unicode/usetiter.h +2 -0
- data/vendor/local/include/unicode/ushape.h +2 -0
- data/vendor/local/include/unicode/uspoof.h +876 -363
- data/vendor/local/include/unicode/usprep.h +2 -0
- data/vendor/local/include/unicode/ustdio.h +2 -0
- data/vendor/local/include/unicode/ustream.h +2 -0
- data/vendor/local/include/unicode/ustring.h +2 -0
- data/vendor/local/include/unicode/ustringtrie.h +2 -0
- data/vendor/local/include/unicode/utext.h +2 -0
- data/vendor/local/include/unicode/utf.h +2 -0
- data/vendor/local/include/unicode/utf16.h +2 -0
- data/vendor/local/include/unicode/utf32.h +2 -0
- data/vendor/local/include/unicode/utf8.h +2 -0
- data/vendor/local/include/unicode/utf_old.h +2 -0
- data/vendor/local/include/unicode/utmscale.h +2 -0
- data/vendor/local/include/unicode/utrace.h +20 -0
- data/vendor/local/include/unicode/utrans.h +2 -0
- data/vendor/local/include/unicode/utypes.h +71 -97
- data/vendor/local/include/unicode/uvernum.h +13 -12
- data/vendor/local/include/unicode/uversion.h +2 -0
- data/vendor/local/include/unicode/vtzone.h +2 -0
- data/vendor/local/lib/icu/{57.1 → 58.2}/Makefile.inc +8 -9
- data/vendor/local/lib/icu/{57.1 → 58.2}/pkgdata.inc +3 -3
- data/vendor/local/lib/icu/Makefile.inc +8 -9
- data/vendor/local/lib/icu/pkgdata.inc +3 -3
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/{icutest57.dll → icutest58.dll} +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +4 -4
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/{icudt57.dll → libicudt58.dll} +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +8 -6
- data/vendor/local/lib/pkgconfig/icu-io.pc +8 -6
- data/vendor/local/lib/pkgconfig/icu-uc.pc +8 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
- data/vendor/local/share/icu/{57.1 → 58.2}/LICENSE +52 -60
- data/vendor/local/share/icu/{57.1 → 58.2}/config/mh-mingw +4 -2
- data/vendor/local/share/icu/{57.1 → 58.2}/install-sh +0 -0
- data/vendor/local/share/icu/{57.1 → 58.2}/mkinstalldirs +2 -0
- data/vendor/local/share/man/man1/derb.1 +4 -2
- data/vendor/local/share/man/man1/genbrk.1 +4 -2
- data/vendor/local/share/man/man1/gencfu.1 +3 -1
- data/vendor/local/share/man/man1/gencnval.1 +5 -3
- data/vendor/local/share/man/man1/gendict.1 +4 -2
- data/vendor/local/share/man/man1/genrb.1 +5 -3
- data/vendor/local/share/man/man1/icu-config.1 +4 -5
- data/vendor/local/share/man/man1/makeconv.1 +5 -3
- data/vendor/local/share/man/man1/pkgdata.1 +4 -2
- data/vendor/local/share/man/man1/uconv.1 +4 -2
- data/vendor/local/share/man/man8/genccode.8 +4 -2
- data/vendor/local/share/man/man8/gencmn.8 +5 -3
- data/vendor/local/share/man/man8/gensprep.8 +5 -3
- data/vendor/local/share/man/man8/icupkg.8 +3 -1
- metadata +23 -40
- data/vendor/local/include/layout/LEFontInstance.h +0 -524
- data/vendor/local/include/layout/LEGlyphFilter.h +0 -45
- data/vendor/local/include/layout/LEGlyphStorage.h +0 -546
- data/vendor/local/include/layout/LEInsertionList.h +0 -177
- data/vendor/local/include/layout/LELanguages.h +0 -109
- data/vendor/local/include/layout/LEScripts.h +0 -204
- data/vendor/local/include/layout/LESwaps.h +0 -100
- data/vendor/local/include/layout/LETableReference.h +0 -435
- data/vendor/local/include/layout/LETypes.h +0 -728
- data/vendor/local/include/layout/LayoutEngine.h +0 -518
- data/vendor/local/include/layout/ParagraphLayout.h +0 -747
- data/vendor/local/include/layout/RunArrays.h +0 -676
- data/vendor/local/include/layout/loengine.h +0 -225
- data/vendor/local/include/layout/playout.h +0 -466
- data/vendor/local/include/layout/plruns.h +0 -441
- data/vendor/local/lib/icuin57.dll +0 -0
- data/vendor/local/lib/icuio57.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule57.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx57.dll +0 -0
- data/vendor/local/lib/icutu57.dll +0 -0
- data/vendor/local/lib/icuuc57.dll +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +0 -38
- data/vendor/local/lib/pkgconfig/icu-lx.pc +0 -38
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
********************************************************************************
|
3
5
|
* Copyright (C) 1997-2014, International Business Machines
|
@@ -134,7 +136,7 @@ public:
|
|
134
136
|
* decimal number.
|
135
137
|
* @stable ICU 4.4
|
136
138
|
*/
|
137
|
-
Formattable(
|
139
|
+
Formattable(StringPiece number, UErrorCode &status);
|
138
140
|
|
139
141
|
/**
|
140
142
|
* Creates a Formattable object with a UnicodeString object to copy from.
|
@@ -581,7 +583,7 @@ public:
|
|
581
583
|
* incoming string is not a valid decimal number.
|
582
584
|
* @stable ICU 4.4
|
583
585
|
*/
|
584
|
-
void setDecimalNumber(
|
586
|
+
void setDecimalNumber(StringPiece numberString,
|
585
587
|
UErrorCode &status);
|
586
588
|
|
587
589
|
/**
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
********************************************************************************
|
3
5
|
* Copyright (C) 1997-2011, International Business Machines Corporation and others.
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
********************************************************************************
|
3
5
|
* Copyright (C) 2010-2012, International Business Machines
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 2008-2013, International Business Machines Corporation and
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
******************************************************************************
|
3
5
|
*
|
@@ -157,7 +159,11 @@ typedef enum {
|
|
157
159
|
UPLUG_REASON_QUERY = 0, /**< The plugin is being queried for info. **/
|
158
160
|
UPLUG_REASON_LOAD = 1, /**< The plugin is being loaded. **/
|
159
161
|
UPLUG_REASON_UNLOAD = 2, /**< The plugin is being unloaded. **/
|
160
|
-
|
162
|
+
/**
|
163
|
+
* Number of known reasons.
|
164
|
+
* @internal The numeric value may change over time, see ICU ticket #12420.
|
165
|
+
*/
|
166
|
+
UPLUG_REASON_COUNT
|
161
167
|
} UPlugReason;
|
162
168
|
|
163
169
|
|
@@ -173,7 +179,11 @@ typedef enum {
|
|
173
179
|
UPLUG_LEVEL_UNKNOWN = 1, /**< The plugin is waiting to be installed. **/
|
174
180
|
UPLUG_LEVEL_LOW = 2, /**< The plugin must be called before u_init completes **/
|
175
181
|
UPLUG_LEVEL_HIGH = 3, /**< The plugin can run at any time. **/
|
176
|
-
|
182
|
+
/**
|
183
|
+
* Number of known levels.
|
184
|
+
* @internal The numeric value may change over time, see ICU ticket #12420.
|
185
|
+
*/
|
186
|
+
UPLUG_LEVEL_COUNT
|
177
187
|
} UPlugLevel;
|
178
188
|
|
179
189
|
/**
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 2010-2012, International Business Machines
|
@@ -198,7 +200,7 @@ public:
|
|
198
200
|
* @stable ICU 4.6
|
199
201
|
*/
|
200
202
|
virtual void
|
201
|
-
labelToASCII_UTF8(
|
203
|
+
labelToASCII_UTF8(StringPiece label, ByteSink &dest,
|
202
204
|
IDNAInfo &info, UErrorCode &errorCode) const;
|
203
205
|
|
204
206
|
/**
|
@@ -216,7 +218,7 @@ public:
|
|
216
218
|
* @stable ICU 4.6
|
217
219
|
*/
|
218
220
|
virtual void
|
219
|
-
labelToUnicodeUTF8(
|
221
|
+
labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
|
220
222
|
IDNAInfo &info, UErrorCode &errorCode) const;
|
221
223
|
|
222
224
|
/**
|
@@ -234,7 +236,7 @@ public:
|
|
234
236
|
* @stable ICU 4.6
|
235
237
|
*/
|
236
238
|
virtual void
|
237
|
-
nameToASCII_UTF8(
|
239
|
+
nameToASCII_UTF8(StringPiece name, ByteSink &dest,
|
238
240
|
IDNAInfo &info, UErrorCode &errorCode) const;
|
239
241
|
|
240
242
|
/**
|
@@ -252,7 +254,7 @@ public:
|
|
252
254
|
* @stable ICU 4.6
|
253
255
|
*/
|
254
256
|
virtual void
|
255
|
-
nameToUnicodeUTF8(
|
257
|
+
nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
|
256
258
|
IDNAInfo &info, UErrorCode &errorCode) const;
|
257
259
|
};
|
258
260
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
*
|
@@ -211,18 +213,16 @@ public:
|
|
211
213
|
errorCode=U_MEMORY_ALLOCATION_ERROR;
|
212
214
|
}
|
213
215
|
}
|
214
|
-
#ifndef U_HIDE_DRAFT_API
|
215
216
|
#if U_HAVE_RVALUE_REFERENCES
|
216
217
|
/**
|
217
218
|
* Move constructor, leaves src with isNull().
|
218
219
|
* @param src source smart pointer
|
219
|
-
* @
|
220
|
+
* @stable ICU 56
|
220
221
|
*/
|
221
222
|
LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
|
222
223
|
src.ptr=NULL;
|
223
224
|
}
|
224
225
|
#endif
|
225
|
-
#endif /* U_HIDE_DRAFT_API */
|
226
226
|
/**
|
227
227
|
* Destructor deletes the object it owns.
|
228
228
|
* @stable ICU 4.4
|
@@ -230,19 +230,19 @@ public:
|
|
230
230
|
~LocalPointer() {
|
231
231
|
delete LocalPointerBase<T>::ptr;
|
232
232
|
}
|
233
|
-
#ifndef U_HIDE_DRAFT_API
|
234
233
|
#if U_HAVE_RVALUE_REFERENCES
|
235
234
|
/**
|
236
235
|
* Move assignment operator, leaves src with isNull().
|
237
236
|
* The behavior is undefined if *this and src are the same object.
|
238
237
|
* @param src source smart pointer
|
239
238
|
* @return *this
|
240
|
-
* @
|
239
|
+
* @stable ICU 56
|
241
240
|
*/
|
242
241
|
LocalPointer<T> &operator=(LocalPointer<T> &&src) U_NOEXCEPT {
|
243
242
|
return moveFrom(src);
|
244
243
|
}
|
245
244
|
#endif
|
245
|
+
// do not use #ifndef U_HIDE_DRAFT_API for moveFrom, needed by non-draft API
|
246
246
|
/**
|
247
247
|
* Move assignment, leaves src with isNull().
|
248
248
|
* The behavior is undefined if *this and src are the same object.
|
@@ -261,19 +261,18 @@ public:
|
|
261
261
|
/**
|
262
262
|
* Swap pointers.
|
263
263
|
* @param other other smart pointer
|
264
|
-
* @
|
264
|
+
* @stable ICU 56
|
265
265
|
*/
|
266
266
|
void swap(LocalPointer<T> &other) U_NOEXCEPT {
|
267
267
|
T *temp=LocalPointerBase<T>::ptr;
|
268
268
|
LocalPointerBase<T>::ptr=other.ptr;
|
269
269
|
other.ptr=temp;
|
270
270
|
}
|
271
|
-
#endif /* U_HIDE_DRAFT_API */
|
272
271
|
/**
|
273
272
|
* Non-member LocalPointer swap function.
|
274
273
|
* @param p1 will get p2's pointer
|
275
274
|
* @param p2 will get p1's pointer
|
276
|
-
* @
|
275
|
+
* @stable ICU 56
|
277
276
|
*/
|
278
277
|
friend inline void swap(LocalPointer<T> &p1, LocalPointer<T> &p2) U_NOEXCEPT {
|
279
278
|
p1.swap(p2);
|
@@ -345,7 +344,6 @@ public:
|
|
345
344
|
* @stable ICU 4.4
|
346
345
|
*/
|
347
346
|
explicit LocalArray(T *p=NULL) : LocalPointerBase<T>(p) {}
|
348
|
-
#ifndef U_HIDE_DRAFT_API
|
349
347
|
/**
|
350
348
|
* Constructor takes ownership and reports an error if NULL.
|
351
349
|
*
|
@@ -357,7 +355,7 @@ public:
|
|
357
355
|
* @param p simple pointer to an array of T objects that is adopted
|
358
356
|
* @param errorCode in/out UErrorCode, set to U_MEMORY_ALLOCATION_ERROR
|
359
357
|
* if p==NULL and no other failure code had been set
|
360
|
-
* @
|
358
|
+
* @stable ICU 56
|
361
359
|
*/
|
362
360
|
LocalArray(T *p, UErrorCode &errorCode) : LocalPointerBase<T>(p) {
|
363
361
|
if(p==NULL && U_SUCCESS(errorCode)) {
|
@@ -368,13 +366,12 @@ public:
|
|
368
366
|
/**
|
369
367
|
* Move constructor, leaves src with isNull().
|
370
368
|
* @param src source smart pointer
|
371
|
-
* @
|
369
|
+
* @stable ICU 56
|
372
370
|
*/
|
373
371
|
LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
|
374
372
|
src.ptr=NULL;
|
375
373
|
}
|
376
374
|
#endif
|
377
|
-
#endif /* U_HIDE_DRAFT_API */
|
378
375
|
/**
|
379
376
|
* Destructor deletes the array it owns.
|
380
377
|
* @stable ICU 4.4
|
@@ -382,19 +379,19 @@ public:
|
|
382
379
|
~LocalArray() {
|
383
380
|
delete[] LocalPointerBase<T>::ptr;
|
384
381
|
}
|
385
|
-
#ifndef U_HIDE_DRAFT_API
|
386
382
|
#if U_HAVE_RVALUE_REFERENCES
|
387
383
|
/**
|
388
384
|
* Move assignment operator, leaves src with isNull().
|
389
385
|
* The behavior is undefined if *this and src are the same object.
|
390
386
|
* @param src source smart pointer
|
391
387
|
* @return *this
|
392
|
-
* @
|
388
|
+
* @stable ICU 56
|
393
389
|
*/
|
394
390
|
LocalArray<T> &operator=(LocalArray<T> &&src) U_NOEXCEPT {
|
395
391
|
return moveFrom(src);
|
396
392
|
}
|
397
393
|
#endif
|
394
|
+
// do not use #ifndef U_HIDE_DRAFT_API for moveFrom, needed by non-draft API
|
398
395
|
/**
|
399
396
|
* Move assignment, leaves src with isNull().
|
400
397
|
* The behavior is undefined if *this and src are the same object.
|
@@ -413,19 +410,18 @@ public:
|
|
413
410
|
/**
|
414
411
|
* Swap pointers.
|
415
412
|
* @param other other smart pointer
|
416
|
-
* @
|
413
|
+
* @stable ICU 56
|
417
414
|
*/
|
418
415
|
void swap(LocalArray<T> &other) U_NOEXCEPT {
|
419
416
|
T *temp=LocalPointerBase<T>::ptr;
|
420
417
|
LocalPointerBase<T>::ptr=other.ptr;
|
421
418
|
other.ptr=temp;
|
422
419
|
}
|
423
|
-
#endif /* U_HIDE_DRAFT_API */
|
424
420
|
/**
|
425
421
|
* Non-member LocalArray swap function.
|
426
422
|
* @param p1 will get p2's pointer
|
427
423
|
* @param p2 will get p1's pointer
|
428
|
-
* @
|
424
|
+
* @stable ICU 56
|
429
425
|
*/
|
430
426
|
friend inline void swap(LocalArray<T> &p1, LocalArray<T> &p2) U_NOEXCEPT {
|
431
427
|
p1.swap(p2);
|
@@ -440,7 +436,6 @@ public:
|
|
440
436
|
delete[] LocalPointerBase<T>::ptr;
|
441
437
|
LocalPointerBase<T>::ptr=p;
|
442
438
|
}
|
443
|
-
#ifndef U_HIDE_DRAFT_API
|
444
439
|
/**
|
445
440
|
* Deletes the array it owns,
|
446
441
|
* and adopts (takes ownership of) the one passed in.
|
@@ -454,7 +449,7 @@ public:
|
|
454
449
|
* @param p simple pointer to an array of T objects that is adopted
|
455
450
|
* @param errorCode in/out UErrorCode, set to U_MEMORY_ALLOCATION_ERROR
|
456
451
|
* if p==NULL and no other failure code had been set
|
457
|
-
* @
|
452
|
+
* @stable ICU 56
|
458
453
|
*/
|
459
454
|
void adoptInsteadAndCheckErrorCode(T *p, UErrorCode &errorCode) {
|
460
455
|
if(U_SUCCESS(errorCode)) {
|
@@ -467,7 +462,6 @@ public:
|
|
467
462
|
delete[] p;
|
468
463
|
}
|
469
464
|
}
|
470
|
-
#endif /* U_HIDE_DRAFT_API */
|
471
465
|
/**
|
472
466
|
* Array item access (writable).
|
473
467
|
* No index bounds check.
|
@@ -485,9 +479,6 @@ public:
|
|
485
479
|
* like LocalPointer<Type> except that this subclass will use the closeFunction
|
486
480
|
* rather than the C++ delete operator.
|
487
481
|
*
|
488
|
-
* Requirement: The closeFunction must tolerate a NULL pointer.
|
489
|
-
* (We could add a NULL check here but it is normally redundant.)
|
490
|
-
*
|
491
482
|
* Usage example:
|
492
483
|
* \code
|
493
484
|
* LocalUCaseMapPointer csm(ucasemap_open(localeID, options, &errorCode));
|
@@ -512,12 +503,12 @@ public:
|
|
512
503
|
: LocalPointerBase<Type>(src.ptr) { \
|
513
504
|
src.ptr=NULL; \
|
514
505
|
} \
|
515
|
-
~LocalPointerClassName() { closeFunction(ptr); } \
|
506
|
+
~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
|
516
507
|
LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
|
517
508
|
return moveFrom(src); \
|
518
509
|
} \
|
519
510
|
LocalPointerClassName &moveFrom(LocalPointerClassName &src) U_NOEXCEPT { \
|
520
|
-
closeFunction(ptr); \
|
511
|
+
if (ptr != NULL) { closeFunction(ptr); } \
|
521
512
|
LocalPointerBase<Type>::ptr=src.ptr; \
|
522
513
|
src.ptr=NULL; \
|
523
514
|
return *this; \
|
@@ -531,7 +522,7 @@ public:
|
|
531
522
|
p1.swap(p2); \
|
532
523
|
} \
|
533
524
|
void adoptInstead(Type *p) { \
|
534
|
-
closeFunction(ptr); \
|
525
|
+
if (ptr != NULL) { closeFunction(ptr); } \
|
535
526
|
ptr=p; \
|
536
527
|
} \
|
537
528
|
}
|
@@ -544,7 +535,7 @@ public:
|
|
544
535
|
explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
|
545
536
|
~LocalPointerClassName() { closeFunction(ptr); } \
|
546
537
|
LocalPointerClassName &moveFrom(LocalPointerClassName &src) U_NOEXCEPT { \
|
547
|
-
closeFunction(ptr); \
|
538
|
+
if (ptr != NULL) { closeFunction(ptr); } \
|
548
539
|
LocalPointerBase<Type>::ptr=src.ptr; \
|
549
540
|
src.ptr=NULL; \
|
550
541
|
return *this; \
|
@@ -558,7 +549,7 @@ public:
|
|
558
549
|
p1.swap(p2); \
|
559
550
|
} \
|
560
551
|
void adoptInstead(Type *p) { \
|
561
|
-
closeFunction(ptr); \
|
552
|
+
if (ptr != NULL) { closeFunction(ptr); } \
|
562
553
|
ptr=p; \
|
563
554
|
} \
|
564
555
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
******************************************************************************
|
3
5
|
* Copyright (C) 2010-2016, International Business Machines Corporation and
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
**********************************************************************
|
3
5
|
* Copyright (c) 2004-2016, International Business Machines
|
@@ -59,11 +61,13 @@ enum UMeasureFormatWidth {
|
|
59
61
|
*/
|
60
62
|
UMEASFMT_WIDTH_NUMERIC,
|
61
63
|
|
64
|
+
#ifndef U_HIDE_DEPRECATED_API
|
62
65
|
/**
|
63
|
-
*
|
64
|
-
* @
|
66
|
+
* One more than the highest normal UMeasureFormatWidth value.
|
67
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
65
68
|
*/
|
66
69
|
UMEASFMT_WIDTH_COUNT = 4
|
70
|
+
#endif // U_HIDE_DEPRECATED_API
|
67
71
|
};
|
68
72
|
/** @stable ICU 53 */
|
69
73
|
typedef enum UMeasureFormatWidth UMeasureFormatWidth;
|
@@ -206,6 +210,21 @@ class U_I18N_API MeasureFormat : public Format {
|
|
206
210
|
FieldPosition &pos,
|
207
211
|
UErrorCode &status) const;
|
208
212
|
|
213
|
+
#ifndef U_HIDE_DRAFT_API
|
214
|
+
/**
|
215
|
+
* Gets the display name of the specified {@link MeasureUnit} corresponding to the current
|
216
|
+
* locale and format width.
|
217
|
+
* @param unit The unit for which to get a display name.
|
218
|
+
* @param status the error.
|
219
|
+
* @return The display name in the locale and width specified in
|
220
|
+
* {@link MeasureFormat#getInstance}, or null if there is no display name available
|
221
|
+
* for the specified unit.
|
222
|
+
*
|
223
|
+
* @draft ICU 58
|
224
|
+
*/
|
225
|
+
UnicodeString getUnitDisplayName(const MeasureUnit& unit, UErrorCode &status) const;
|
226
|
+
#endif /* U_HIDE_DRAFT_API */
|
227
|
+
|
209
228
|
|
210
229
|
/**
|
211
230
|
* Return a formatter for CurrencyAmount objects in the given
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
**********************************************************************
|
3
5
|
* Copyright (c) 2004-2016, International Business Machines
|
@@ -255,15 +257,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
255
257
|
*/
|
256
258
|
static MeasureUnit *createRadian(UErrorCode &status);
|
257
259
|
|
258
|
-
#ifndef U_HIDE_DRAFT_API
|
259
260
|
/**
|
260
261
|
* Returns unit of angle: revolution.
|
261
262
|
* Caller owns returned value and must free it.
|
262
263
|
* @param status ICU error code.
|
263
|
-
* @
|
264
|
+
* @stable ICU 56
|
264
265
|
*/
|
265
266
|
static MeasureUnit *createRevolutionAngle(UErrorCode &status);
|
266
|
-
#endif /* U_HIDE_DRAFT_API */
|
267
267
|
|
268
268
|
/**
|
269
269
|
* Returns unit of area: acre.
|
@@ -375,15 +375,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
375
375
|
static MeasureUnit *createPartPerMillion(UErrorCode &status);
|
376
376
|
#endif /* U_HIDE_DRAFT_API */
|
377
377
|
|
378
|
-
#ifndef U_HIDE_DRAFT_API
|
379
378
|
/**
|
380
379
|
* Returns unit of consumption: liter-per-100kilometers.
|
381
380
|
* Caller owns returned value and must free it.
|
382
381
|
* @param status ICU error code.
|
383
|
-
* @
|
382
|
+
* @stable ICU 56
|
384
383
|
*/
|
385
384
|
static MeasureUnit *createLiterPer100Kilometers(UErrorCode &status);
|
386
|
-
#endif /* U_HIDE_DRAFT_API */
|
387
385
|
|
388
386
|
/**
|
389
387
|
* Returns unit of consumption: liter-per-kilometer.
|
@@ -411,6 +409,46 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
411
409
|
static MeasureUnit *createMilePerGallonImperial(UErrorCode &status);
|
412
410
|
#endif /* U_HIDE_DRAFT_API */
|
413
411
|
|
412
|
+
#ifndef U_HIDE_DRAFT_API
|
413
|
+
/**
|
414
|
+
* Returns unit of coordinate: east.
|
415
|
+
* Caller owns returned value and must free it.
|
416
|
+
* @param status ICU error code.
|
417
|
+
* @draft ICU 58
|
418
|
+
*/
|
419
|
+
static MeasureUnit *createEast(UErrorCode &status);
|
420
|
+
#endif /* U_HIDE_DRAFT_API */
|
421
|
+
|
422
|
+
#ifndef U_HIDE_DRAFT_API
|
423
|
+
/**
|
424
|
+
* Returns unit of coordinate: north.
|
425
|
+
* Caller owns returned value and must free it.
|
426
|
+
* @param status ICU error code.
|
427
|
+
* @draft ICU 58
|
428
|
+
*/
|
429
|
+
static MeasureUnit *createNorth(UErrorCode &status);
|
430
|
+
#endif /* U_HIDE_DRAFT_API */
|
431
|
+
|
432
|
+
#ifndef U_HIDE_DRAFT_API
|
433
|
+
/**
|
434
|
+
* Returns unit of coordinate: south.
|
435
|
+
* Caller owns returned value and must free it.
|
436
|
+
* @param status ICU error code.
|
437
|
+
* @draft ICU 58
|
438
|
+
*/
|
439
|
+
static MeasureUnit *createSouth(UErrorCode &status);
|
440
|
+
#endif /* U_HIDE_DRAFT_API */
|
441
|
+
|
442
|
+
#ifndef U_HIDE_DRAFT_API
|
443
|
+
/**
|
444
|
+
* Returns unit of coordinate: west.
|
445
|
+
* Caller owns returned value and must free it.
|
446
|
+
* @param status ICU error code.
|
447
|
+
* @draft ICU 58
|
448
|
+
*/
|
449
|
+
static MeasureUnit *createWest(UErrorCode &status);
|
450
|
+
#endif /* U_HIDE_DRAFT_API */
|
451
|
+
|
414
452
|
/**
|
415
453
|
* Returns unit of digital: bit.
|
416
454
|
* Caller owns returned value and must free it.
|
@@ -491,15 +529,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
491
529
|
*/
|
492
530
|
static MeasureUnit *createTerabyte(UErrorCode &status);
|
493
531
|
|
494
|
-
#ifndef U_HIDE_DRAFT_API
|
495
532
|
/**
|
496
533
|
* Returns unit of duration: century.
|
497
534
|
* Caller owns returned value and must free it.
|
498
535
|
* @param status ICU error code.
|
499
|
-
* @
|
536
|
+
* @stable ICU 56
|
500
537
|
*/
|
501
538
|
static MeasureUnit *createCentury(UErrorCode &status);
|
502
|
-
#endif /* U_HIDE_DRAFT_API */
|
503
539
|
|
504
540
|
/**
|
505
541
|
* Returns unit of duration: day.
|
@@ -789,15 +825,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
789
825
|
*/
|
790
826
|
static MeasureUnit *createMile(UErrorCode &status);
|
791
827
|
|
792
|
-
#ifndef U_HIDE_DRAFT_API
|
793
828
|
/**
|
794
829
|
* Returns unit of length: mile-scandinavian.
|
795
830
|
* Caller owns returned value and must free it.
|
796
831
|
* @param status ICU error code.
|
797
|
-
* @
|
832
|
+
* @stable ICU 56
|
798
833
|
*/
|
799
834
|
static MeasureUnit *createMileScandinavian(UErrorCode &status);
|
800
|
-
#endif /* U_HIDE_DRAFT_API */
|
801
835
|
|
802
836
|
/**
|
803
837
|
* Returns unit of length: millimeter.
|
@@ -1039,15 +1073,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
1039
1073
|
*/
|
1040
1074
|
static MeasureUnit *createKilometerPerHour(UErrorCode &status);
|
1041
1075
|
|
1042
|
-
#ifndef U_HIDE_DRAFT_API
|
1043
1076
|
/**
|
1044
1077
|
* Returns unit of speed: knot.
|
1045
1078
|
* Caller owns returned value and must free it.
|
1046
1079
|
* @param status ICU error code.
|
1047
|
-
* @
|
1080
|
+
* @stable ICU 56
|
1048
1081
|
*/
|
1049
1082
|
static MeasureUnit *createKnot(UErrorCode &status);
|
1050
|
-
#endif /* U_HIDE_DRAFT_API */
|
1051
1083
|
|
1052
1084
|
/**
|
1053
1085
|
* Returns unit of speed: meter-per-second.
|
@@ -1081,15 +1113,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
1081
1113
|
*/
|
1082
1114
|
static MeasureUnit *createFahrenheit(UErrorCode &status);
|
1083
1115
|
|
1084
|
-
#ifndef U_HIDE_DRAFT_API
|
1085
1116
|
/**
|
1086
1117
|
* Returns unit of temperature: generic.
|
1087
1118
|
* Caller owns returned value and must free it.
|
1088
1119
|
* @param status ICU error code.
|
1089
|
-
* @
|
1120
|
+
* @stable ICU 56
|
1090
1121
|
*/
|
1091
1122
|
static MeasureUnit *createGenericTemperature(UErrorCode &status);
|
1092
|
-
#endif /* U_HIDE_DRAFT_API */
|
1093
1123
|
|
1094
1124
|
/**
|
1095
1125
|
* Returns unit of temperature: kelvin.
|
@@ -1187,15 +1217,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
1187
1217
|
*/
|
1188
1218
|
static MeasureUnit *createCup(UErrorCode &status);
|
1189
1219
|
|
1190
|
-
#ifndef U_HIDE_DRAFT_API
|
1191
1220
|
/**
|
1192
1221
|
* Returns unit of volume: cup-metric.
|
1193
1222
|
* Caller owns returned value and must free it.
|
1194
1223
|
* @param status ICU error code.
|
1195
|
-
* @
|
1224
|
+
* @stable ICU 56
|
1196
1225
|
*/
|
1197
1226
|
static MeasureUnit *createCupMetric(UErrorCode &status);
|
1198
|
-
#endif /* U_HIDE_DRAFT_API */
|
1199
1227
|
|
1200
1228
|
/**
|
1201
1229
|
* Returns unit of volume: deciliter.
|
@@ -1271,15 +1299,13 @@ class U_I18N_API MeasureUnit: public UObject {
|
|
1271
1299
|
*/
|
1272
1300
|
static MeasureUnit *createPint(UErrorCode &status);
|
1273
1301
|
|
1274
|
-
#ifndef U_HIDE_DRAFT_API
|
1275
1302
|
/**
|
1276
1303
|
* Returns unit of volume: pint-metric.
|
1277
1304
|
* Caller owns returned value and must free it.
|
1278
1305
|
* @param status ICU error code.
|
1279
|
-
* @
|
1306
|
+
* @stable ICU 56
|
1280
1307
|
*/
|
1281
1308
|
static MeasureUnit *createPintMetric(UErrorCode &status);
|
1282
|
-
#endif /* U_HIDE_DRAFT_API */
|
1283
1309
|
|
1284
1310
|
/**
|
1285
1311
|
* Returns unit of volume: quart.
|