pango 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +25 -0
- data/Rakefile +8 -8
- data/ext/pango/extconf.rb +4 -1
- data/ext/pango/pango.def +1 -0
- data/ext/pango/rb-pango-attr-list.c +3 -3
- data/ext/pango/rb-pango-attribute.c +67 -57
- data/ext/pango/rb-pango-conversions.h +3 -3
- data/ext/pango/rb-pango-private.h +0 -1
- data/ext/pango/rb-pango.c +0 -1
- data/ext/pango/rb-pango.h +2 -1
- 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/lib/2.5/pango.so +0 -0
- data/lib/pango/loader.rb +13 -1
- data/lib/pango/rectangle.rb +7 -1
- data/pango.gemspec +43 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/escapesrc.exe +0 -0
- data/vendor/local/bin/fribidi.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-subset.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +13 -8
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libfribidi-0.dll +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-subset-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/fribidi/fribidi-config.h +2 -2
- data/vendor/local/include/harfbuzz/hb-blob.h +2 -0
- data/vendor/local/include/harfbuzz/hb-common.h +24 -3
- data/vendor/local/include/harfbuzz/hb-face.h +4 -0
- data/vendor/local/include/harfbuzz/hb-map.h +104 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +1 -1
- data/vendor/local/include/harfbuzz/hb-set.h +0 -2
- data/vendor/local/include/harfbuzz/hb-subset-plan.hh +46 -25
- data/vendor/local/include/harfbuzz/hb-subset.h +4 -1
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/harfbuzz/hb.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/unicode/alphaindex.h +2 -1
- data/vendor/local/include/unicode/appendable.h +25 -25
- data/vendor/local/include/unicode/basictz.h +1 -1
- data/vendor/local/include/unicode/brkiter.h +19 -24
- data/vendor/local/include/unicode/bytestream.h +26 -13
- data/vendor/local/include/unicode/bytestrie.h +2 -2
- data/vendor/local/include/unicode/bytestriebuilder.h +4 -5
- data/vendor/local/include/unicode/calendar.h +11 -11
- data/vendor/local/include/unicode/caniter.h +3 -3
- data/vendor/local/include/unicode/casemap.h +494 -0
- data/vendor/local/include/unicode/char16ptr.h +302 -0
- data/vendor/local/include/unicode/chariter.h +22 -18
- data/vendor/local/include/unicode/choicfmt.h +1 -1
- data/vendor/local/include/unicode/coleitr.h +2 -1
- data/vendor/local/include/unicode/coll.h +17 -17
- data/vendor/local/include/unicode/compactdecimalformat.h +10 -2
- data/vendor/local/include/unicode/curramt.h +5 -5
- data/vendor/local/include/unicode/currpinf.h +1 -1
- data/vendor/local/include/unicode/currunit.h +24 -6
- data/vendor/local/include/unicode/datefmt.h +3 -2
- data/vendor/local/include/unicode/dbbi.h +1 -1
- data/vendor/local/include/unicode/dcfmtsym.h +89 -13
- data/vendor/local/include/unicode/decimfmt.h +38 -39
- data/vendor/local/include/unicode/docmain.h +7 -2
- data/vendor/local/include/unicode/dtfmtsym.h +7 -6
- data/vendor/local/include/unicode/dtintrv.h +2 -2
- data/vendor/local/include/unicode/dtitvfmt.h +2 -2
- data/vendor/local/include/unicode/dtitvinf.h +1 -3
- data/vendor/local/include/unicode/dtptngen.h +48 -24
- data/vendor/local/include/unicode/dtrule.h +1 -1
- data/vendor/local/include/unicode/edits.h +424 -0
- data/vendor/local/include/unicode/enumset.h +1 -1
- data/vendor/local/include/unicode/errorcode.h +2 -2
- data/vendor/local/include/unicode/fieldpos.h +1 -1
- data/vendor/local/include/unicode/filteredbrk.h +35 -5
- data/vendor/local/include/unicode/fmtable.h +1 -1
- data/vendor/local/include/unicode/format.h +1 -1
- data/vendor/local/include/unicode/fpositer.h +11 -3
- data/vendor/local/include/unicode/gender.h +1 -1
- data/vendor/local/include/unicode/gregocal.h +1 -1
- data/vendor/local/include/unicode/icudataver.h +1 -1
- data/vendor/local/include/unicode/icuplug.h +1 -1
- data/vendor/local/include/unicode/idna.h +2 -2
- data/vendor/local/include/unicode/listformatter.h +4 -2
- data/vendor/local/include/unicode/localpointer.h +6 -43
- data/vendor/local/include/unicode/locdspnm.h +2 -1
- data/vendor/local/include/unicode/locid.h +7 -6
- data/vendor/local/include/unicode/measfmt.h +18 -7
- data/vendor/local/include/unicode/measunit.h +31 -60
- data/vendor/local/include/unicode/measure.h +1 -1
- data/vendor/local/include/unicode/messagepattern.h +2 -2
- data/vendor/local/include/unicode/msgfmt.h +2 -2
- data/vendor/local/include/unicode/normalizer2.h +130 -16
- data/vendor/local/include/unicode/normlzr.h +5 -5
- data/vendor/local/include/unicode/nounit.h +111 -0
- data/vendor/local/include/unicode/numberformatter.h +2194 -0
- data/vendor/local/include/unicode/numfmt.h +81 -7
- data/vendor/local/include/unicode/numsys.h +2 -2
- data/vendor/local/include/unicode/parseerr.h +3 -3
- data/vendor/local/include/unicode/parsepos.h +1 -1
- data/vendor/local/include/unicode/platform.h +66 -63
- data/vendor/local/include/unicode/plurfmt.h +1 -1
- data/vendor/local/include/unicode/plurrule.h +23 -4
- data/vendor/local/include/unicode/ptypes.h +1 -1
- data/vendor/local/include/unicode/putil.h +4 -4
- data/vendor/local/include/unicode/rbbi.h +105 -134
- data/vendor/local/include/unicode/rbnf.h +65 -3
- data/vendor/local/include/unicode/rbtz.h +1 -1
- data/vendor/local/include/unicode/regex.h +17 -17
- data/vendor/local/include/unicode/region.h +1 -1
- data/vendor/local/include/unicode/reldatefmt.h +4 -5
- data/vendor/local/include/unicode/rep.h +4 -4
- data/vendor/local/include/unicode/resbund.h +3 -3
- data/vendor/local/include/unicode/schriter.h +3 -3
- data/vendor/local/include/unicode/scientificnumberformatter.h +1 -1
- data/vendor/local/include/unicode/search.h +1 -1
- data/vendor/local/include/unicode/selfmt.h +1 -1
- data/vendor/local/include/unicode/simpleformatter.h +31 -25
- data/vendor/local/include/unicode/simpletz.h +5 -3
- data/vendor/local/include/unicode/smpdtfmt.h +17 -7
- data/vendor/local/include/unicode/sortkey.h +1 -1
- data/vendor/local/include/unicode/std_string.h +6 -8
- data/vendor/local/include/unicode/strenum.h +5 -5
- data/vendor/local/include/unicode/stringoptions.h +198 -0
- data/vendor/local/include/unicode/stringpiece.h +1 -3
- data/vendor/local/include/unicode/stringtriebuilder.h +19 -19
- data/vendor/local/include/unicode/stsearch.h +1 -1
- data/vendor/local/include/unicode/symtable.h +1 -1
- data/vendor/local/include/unicode/tblcoll.h +13 -13
- data/vendor/local/include/unicode/timezone.h +5 -5
- data/vendor/local/include/unicode/tmunit.h +1 -1
- data/vendor/local/include/unicode/tmutamt.h +1 -1
- data/vendor/local/include/unicode/tmutfmt.h +1 -1
- data/vendor/local/include/unicode/translit.h +2 -2
- data/vendor/local/include/unicode/tzfmt.h +4 -4
- data/vendor/local/include/unicode/tznames.h +3 -5
- data/vendor/local/include/unicode/tzrule.h +1 -1
- data/vendor/local/include/unicode/tztrans.h +1 -1
- data/vendor/local/include/unicode/ubidi.h +11 -8
- data/vendor/local/include/unicode/ubiditransform.h +16 -19
- data/vendor/local/include/unicode/ubrk.h +61 -4
- data/vendor/local/include/unicode/ucal.h +3 -3
- data/vendor/local/include/unicode/ucasemap.h +7 -47
- data/vendor/local/include/unicode/ucat.h +1 -1
- data/vendor/local/include/unicode/uchar.h +62 -37
- data/vendor/local/include/unicode/ucharstrie.h +48 -48
- data/vendor/local/include/unicode/ucharstriebuilder.h +12 -12
- data/vendor/local/include/unicode/uchriter.h +33 -29
- data/vendor/local/include/unicode/uclean.h +15 -13
- data/vendor/local/include/unicode/ucnv.h +11 -11
- data/vendor/local/include/unicode/ucnv_cb.h +1 -1
- data/vendor/local/include/unicode/ucnv_err.h +7 -7
- data/vendor/local/include/unicode/ucnvsel.h +1 -1
- data/vendor/local/include/unicode/ucol.h +6 -6
- data/vendor/local/include/unicode/ucoleitr.h +3 -3
- data/vendor/local/include/unicode/uconfig.h +8 -5
- data/vendor/local/include/unicode/ucsdet.h +7 -3
- data/vendor/local/include/unicode/ucurr.h +14 -1
- data/vendor/local/include/unicode/udat.h +39 -41
- data/vendor/local/include/unicode/udata.h +2 -2
- data/vendor/local/include/unicode/udateintervalformat.h +1 -1
- data/vendor/local/include/unicode/udatpg.h +56 -5
- data/vendor/local/include/unicode/udisplaycontext.h +4 -8
- data/vendor/local/include/unicode/uenum.h +5 -3
- data/vendor/local/include/unicode/ufieldpositer.h +1 -1
- data/vendor/local/include/unicode/uformattable.h +2 -2
- data/vendor/local/include/unicode/ugender.h +1 -1
- data/vendor/local/include/unicode/uidna.h +2 -2
- data/vendor/local/include/unicode/uiter.h +2 -2
- data/vendor/local/include/unicode/uldnames.h +1 -1
- data/vendor/local/include/unicode/ulistformatter.h +4 -4
- data/vendor/local/include/unicode/uloc.h +29 -16
- data/vendor/local/include/unicode/ulocdata.h +5 -5
- data/vendor/local/include/unicode/umachine.h +81 -38
- data/vendor/local/include/unicode/umisc.h +2 -2
- data/vendor/local/include/unicode/umsg.h +2 -2
- data/vendor/local/include/unicode/unifilt.h +2 -2
- data/vendor/local/include/unicode/unifunct.h +1 -1
- data/vendor/local/include/unicode/unimatch.h +1 -1
- data/vendor/local/include/unicode/unirepl.h +1 -1
- data/vendor/local/include/unicode/uniset.h +5 -4
- data/vendor/local/include/unicode/unistr.h +322 -208
- data/vendor/local/include/unicode/unorm.h +9 -9
- data/vendor/local/include/unicode/unorm2.h +3 -26
- data/vendor/local/include/unicode/unum.h +71 -11
- data/vendor/local/include/unicode/unumsys.h +1 -1
- data/vendor/local/include/unicode/uobject.h +2 -2
- data/vendor/local/include/unicode/upluralrules.h +51 -6
- data/vendor/local/include/unicode/uregex.h +2 -2
- data/vendor/local/include/unicode/uregion.h +2 -2
- data/vendor/local/include/unicode/ureldatefmt.h +33 -39
- data/vendor/local/include/unicode/urename.h +18 -17
- data/vendor/local/include/unicode/urep.h +1 -1
- data/vendor/local/include/unicode/ures.h +9 -9
- data/vendor/local/include/unicode/uscript.h +10 -3
- data/vendor/local/include/unicode/usearch.h +3 -3
- data/vendor/local/include/unicode/uset.h +2 -2
- data/vendor/local/include/unicode/usetiter.h +1 -1
- data/vendor/local/include/unicode/ushape.h +3 -3
- data/vendor/local/include/unicode/uspoof.h +24 -29
- data/vendor/local/include/unicode/usprep.h +7 -7
- data/vendor/local/include/unicode/ustdio.h +1 -1
- data/vendor/local/include/unicode/ustream.h +2 -9
- data/vendor/local/include/unicode/ustring.h +3 -13
- data/vendor/local/include/unicode/ustringtrie.h +2 -2
- data/vendor/local/include/unicode/utext.h +16 -16
- data/vendor/local/include/unicode/utf.h +19 -19
- data/vendor/local/include/unicode/utf16.h +128 -8
- data/vendor/local/include/unicode/utf32.h +2 -2
- data/vendor/local/include/unicode/utf8.h +177 -121
- data/vendor/local/include/unicode/utf_old.h +40 -7
- data/vendor/local/include/unicode/utmscale.h +8 -1
- data/vendor/local/include/unicode/utrace.h +4 -4
- data/vendor/local/include/unicode/utrans.h +3 -3
- data/vendor/local/include/unicode/utypes.h +13 -10
- data/vendor/local/include/unicode/uvernum.h +18 -11
- data/vendor/local/include/unicode/uversion.h +10 -4
- data/vendor/local/include/unicode/vtzone.h +1 -1
- data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +1 -1
- data/vendor/local/lib/icu/{58.2 → 61.1}/Makefile.inc +7 -7
- data/vendor/local/lib/icu/{58.2 → 61.1}/pkgdata.inc +2 -2
- data/vendor/local/lib/icu/Makefile.inc +7 -7
- data/vendor/local/lib/icu/pkgdata.inc +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt58.dll → icudt61.dll} +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin61.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/{icuio58.dll → icuio61.dll} +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/{icutest58.dll → icutest61.dll} +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu61.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc61.dll +0 -0
- data/vendor/local/lib/libfribidi.dll.a +0 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-subset.la +3 -3
- 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/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/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pkgconfig/fribidi.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +7 -7
- data/vendor/local/lib/pkgconfig/icu-io.pc +7 -7
- data/vendor/local/lib/pkgconfig/icu-uc.pc +7 -7
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +5 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +5 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +2 -2
- data/vendor/local/share/icu/{58.2 → 61.1}/LICENSE +32 -3
- data/vendor/local/share/icu/{58.2 → 61.1}/config/mh-mingw64 +4 -0
- data/vendor/local/share/icu/{58.2 → 61.1}/install-sh +0 -0
- data/vendor/local/share/icu/{58.2 → 61.1}/mkinstalldirs +0 -0
- data/vendor/local/share/man/man1/derb.1 +2 -2
- data/vendor/local/share/man/man1/genbrk.1 +2 -2
- data/vendor/local/share/man/man1/gencfu.1 +1 -1
- data/vendor/local/share/man/man1/gencnval.1 +3 -3
- data/vendor/local/share/man/man1/gendict.1 +2 -2
- data/vendor/local/share/man/man1/genrb.1 +3 -3
- data/vendor/local/share/man/man1/icu-config.1 +2 -2
- data/vendor/local/share/man/man1/makeconv.1 +5 -5
- data/vendor/local/share/man/man1/pkgdata.1 +2 -2
- data/vendor/local/share/man/man1/uconv.1 +9 -9
- data/vendor/local/share/man/man3/fribidi_charset_to_unicode.3 +98 -0
- data/vendor/local/share/man/man3/fribidi_debug_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_type.3 +58 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_type_name.3 +56 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_types.3 +68 -0
- data/vendor/local/share/man/man3/fribidi_get_bracket.3 +59 -0
- data/vendor/local/share/man/man3/fribidi_get_bracket_types.3 +73 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_type.3 +87 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_type_name.3 +83 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_types.3 +96 -0
- data/vendor/local/share/man/man3/fribidi_get_mirror_char.3 +68 -0
- data/vendor/local/share/man/man3/fribidi_get_par_direction.3 +100 -0
- data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels.3 +98 -0
- data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels_ex.3 +114 -0
- data/vendor/local/share/man/man3/fribidi_get_type.3 +50 -0
- data/vendor/local/share/man/man3/fribidi_get_type_internal.3 +50 -0
- data/vendor/local/share/man/man3/fribidi_join_arabic.3 +92 -0
- data/vendor/local/share/man/man3/fribidi_log2vis.3 +124 -0
- data/vendor/local/share/man/man3/fribidi_log2vis_get_embedding_levels.3 +97 -0
- data/vendor/local/share/man/man3/fribidi_mirroring_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_parse_charset.3 +78 -0
- data/vendor/local/share/man/man3/fribidi_remove_bidi_marks.3 +96 -0
- data/vendor/local/share/man/man3/fribidi_reorder_line.3 +146 -0
- data/vendor/local/share/man/man3/fribidi_reorder_nsm_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_set_debug.3 +48 -0
- data/vendor/local/share/man/man3/fribidi_set_mirroring.3 +58 -0
- data/vendor/local/share/man/man3/fribidi_set_reorder_nsm.3 +60 -0
- data/vendor/local/share/man/man3/fribidi_shape.3 +89 -0
- data/vendor/local/share/man/man3/fribidi_shape_arabic.3 +95 -0
- data/vendor/local/share/man/man3/fribidi_shape_mirroring.3 +71 -0
- data/vendor/local/share/man/man3/fribidi_unicode_to_charset.3 +99 -0
- data/vendor/local/share/man/man8/genccode.8 +2 -2
- data/vendor/local/share/man/man8/gencmn.8 +3 -3
- data/vendor/local/share/man/man8/gensprep.8 +3 -3
- data/vendor/local/share/man/man8/icupkg.8 +1 -1
- metadata +58 -59
- data/ext/pango/rb-pango-context.c +0 -79
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
********************************************************************************
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
/**
|
30
30
|
* \file
|
31
|
-
* \brief C++ API:
|
31
|
+
* \brief C++ API: Compatibility APIs for number formatting.
|
32
32
|
*/
|
33
33
|
|
34
34
|
#if !UCONFIG_NO_FORMATTING
|
@@ -53,11 +53,16 @@ class StringEnumeration;
|
|
53
53
|
#endif
|
54
54
|
|
55
55
|
/**
|
56
|
+
* <p><strong>IMPORTANT:</strong> New users are strongly encouraged to see if
|
57
|
+
* numberformatter.h fits their use case. Although not deprecated, this header
|
58
|
+
* is provided for backwards compatibility only.
|
59
|
+
* <hr/>
|
56
60
|
*
|
57
61
|
* Abstract base class for all number formats. Provides interface for
|
58
62
|
* formatting and parsing a number. Also provides methods for
|
59
63
|
* determining which locales have number formats, and what their names
|
60
64
|
* are.
|
65
|
+
*
|
61
66
|
* \headerfile unicode/numfmt.h "unicode/numfmt.h"
|
62
67
|
* <P>
|
63
68
|
* NumberFormat helps you to format and parse numbers for any locale.
|
@@ -168,6 +173,33 @@ class StringEnumeration;
|
|
168
173
|
*/
|
169
174
|
class U_I18N_API NumberFormat : public Format {
|
170
175
|
public:
|
176
|
+
/**
|
177
|
+
* Rounding mode.
|
178
|
+
*
|
179
|
+
* <p>
|
180
|
+
* For more detail on rounding modes, see:
|
181
|
+
* http://userguide.icu-project.org/formatparse/numbers/rounding-modes
|
182
|
+
*
|
183
|
+
* @stable ICU 2.4
|
184
|
+
*/
|
185
|
+
enum ERoundingMode {
|
186
|
+
kRoundCeiling, /**< Round towards positive infinity */
|
187
|
+
kRoundFloor, /**< Round towards negative infinity */
|
188
|
+
kRoundDown, /**< Round towards zero */
|
189
|
+
kRoundUp, /**< Round away from zero */
|
190
|
+
kRoundHalfEven, /**< Round towards the nearest integer, or
|
191
|
+
towards the nearest even integer if equidistant */
|
192
|
+
kRoundHalfDown, /**< Round towards the nearest integer, or
|
193
|
+
towards zero if equidistant */
|
194
|
+
kRoundHalfUp, /**< Round towards the nearest integer, or
|
195
|
+
away from zero if equidistant */
|
196
|
+
/**
|
197
|
+
* Return U_FORMAT_INEXACT_ERROR if number does not format exactly.
|
198
|
+
* @stable ICU 4.8
|
199
|
+
*/
|
200
|
+
kRoundUnnecessary
|
201
|
+
};
|
202
|
+
|
171
203
|
/**
|
172
204
|
* Alignment Field constants used to construct a FieldPosition object.
|
173
205
|
* Signifies that the position of the integer part or fraction part of
|
@@ -676,6 +708,9 @@ public:
|
|
676
708
|
/**
|
677
709
|
* Create a default style NumberFormat for the current default locale.
|
678
710
|
* The default formatting style is locale dependent.
|
711
|
+
* <p>
|
712
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
713
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
679
714
|
* @stable ICU 2.0
|
680
715
|
*/
|
681
716
|
static NumberFormat* U_EXPORT2 createInstance(UErrorCode&);
|
@@ -684,6 +719,9 @@ public:
|
|
684
719
|
* Create a default style NumberFormat for the specified locale.
|
685
720
|
* The default formatting style is locale dependent.
|
686
721
|
* @param inLocale the given locale.
|
722
|
+
* <p>
|
723
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
724
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
687
725
|
* @stable ICU 2.0
|
688
726
|
*/
|
689
727
|
static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
|
@@ -691,6 +729,9 @@ public:
|
|
691
729
|
|
692
730
|
/**
|
693
731
|
* Create a specific style NumberFormat for the specified locale.
|
732
|
+
* <p>
|
733
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
734
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
694
735
|
* @param desiredLocale the given locale.
|
695
736
|
* @param style the given style.
|
696
737
|
* @param errorCode Output param filled with success/failure status.
|
@@ -727,12 +768,18 @@ public:
|
|
727
768
|
|
728
769
|
/**
|
729
770
|
* Returns a currency format for the current default locale.
|
771
|
+
* <p>
|
772
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
773
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
730
774
|
* @stable ICU 2.0
|
731
775
|
*/
|
732
776
|
static NumberFormat* U_EXPORT2 createCurrencyInstance(UErrorCode&);
|
733
777
|
|
734
778
|
/**
|
735
779
|
* Returns a currency format for the specified locale.
|
780
|
+
* <p>
|
781
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
782
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
736
783
|
* @param inLocale the given locale.
|
737
784
|
* @stable ICU 2.0
|
738
785
|
*/
|
@@ -741,12 +788,18 @@ public:
|
|
741
788
|
|
742
789
|
/**
|
743
790
|
* Returns a percentage format for the current default locale.
|
791
|
+
* <p>
|
792
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
793
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
744
794
|
* @stable ICU 2.0
|
745
795
|
*/
|
746
796
|
static NumberFormat* U_EXPORT2 createPercentInstance(UErrorCode&);
|
747
797
|
|
748
798
|
/**
|
749
799
|
* Returns a percentage format for the specified locale.
|
800
|
+
* <p>
|
801
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
802
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
750
803
|
* @param inLocale the given locale.
|
751
804
|
* @stable ICU 2.0
|
752
805
|
*/
|
@@ -755,12 +808,18 @@ public:
|
|
755
808
|
|
756
809
|
/**
|
757
810
|
* Returns a scientific format for the current default locale.
|
811
|
+
* <p>
|
812
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
813
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
758
814
|
* @stable ICU 2.0
|
759
815
|
*/
|
760
816
|
static NumberFormat* U_EXPORT2 createScientificInstance(UErrorCode&);
|
761
817
|
|
762
818
|
/**
|
763
819
|
* Returns a scientific format for the specified locale.
|
820
|
+
* <p>
|
821
|
+
* <strong>NOTE:</strong> New users are strongly encouraged to use
|
822
|
+
* {@link NumberFormatter} instead of NumberFormat.
|
764
823
|
* @param inLocale the given locale.
|
765
824
|
* @stable ICU 2.0
|
766
825
|
*/
|
@@ -814,7 +873,7 @@ public:
|
|
814
873
|
* Returns true if grouping is used in this format. For example,
|
815
874
|
* in the English locale, with grouping on, the number 1234567
|
816
875
|
* might be formatted as "1,234,567". The grouping separator as
|
817
|
-
* well as the size of each group is locale
|
876
|
+
* well as the size of each group is locale dependent and is
|
818
877
|
* determined by sub-classes of NumberFormat.
|
819
878
|
* @see setGroupingUsed
|
820
879
|
* @stable ICU 2.0
|
@@ -931,7 +990,7 @@ public:
|
|
931
990
|
* @param ec input-output error code
|
932
991
|
* @stable ICU 3.0
|
933
992
|
*/
|
934
|
-
virtual void setCurrency(const
|
993
|
+
virtual void setCurrency(const char16_t* theCurrency, UErrorCode& ec);
|
935
994
|
|
936
995
|
/**
|
937
996
|
* Gets the currency used to display currency
|
@@ -940,7 +999,7 @@ public:
|
|
940
999
|
* the currency in use, or a pointer to the empty string.
|
941
1000
|
* @stable ICU 2.6
|
942
1001
|
*/
|
943
|
-
const
|
1002
|
+
const char16_t* getCurrency() const;
|
944
1003
|
|
945
1004
|
/**
|
946
1005
|
* Set a particular UDisplayContext value in the formatter, such as
|
@@ -965,6 +1024,21 @@ public:
|
|
965
1024
|
*/
|
966
1025
|
virtual UDisplayContext getContext(UDisplayContextType type, UErrorCode& status) const;
|
967
1026
|
|
1027
|
+
/**
|
1028
|
+
* Get the rounding mode. This will always return NumberFormat::ERoundingMode::kRoundUnnecessary
|
1029
|
+
* if the subclass does not support rounding.
|
1030
|
+
* @return A rounding mode
|
1031
|
+
* @draft ICU 60
|
1032
|
+
*/
|
1033
|
+
virtual ERoundingMode getRoundingMode(void) const;
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
* Set the rounding mode. If a subclass does not support rounding, this will do nothing.
|
1037
|
+
* @param roundingMode A rounding mode
|
1038
|
+
* @draft ICU 60
|
1039
|
+
*/
|
1040
|
+
virtual void setRoundingMode(ERoundingMode roundingMode);
|
1041
|
+
|
968
1042
|
public:
|
969
1043
|
|
970
1044
|
/**
|
@@ -1018,7 +1092,7 @@ protected:
|
|
1018
1092
|
* have a capacity of at least 4
|
1019
1093
|
* @internal
|
1020
1094
|
*/
|
1021
|
-
virtual void getEffectiveCurrency(
|
1095
|
+
virtual void getEffectiveCurrency(char16_t* result, UErrorCode& ec) const;
|
1022
1096
|
|
1023
1097
|
#ifndef U_HIDE_INTERNAL_API
|
1024
1098
|
/**
|
@@ -1065,7 +1139,7 @@ private:
|
|
1065
1139
|
UBool fLenient; // TRUE => lenient parse is enabled
|
1066
1140
|
|
1067
1141
|
// ISO currency code
|
1068
|
-
|
1142
|
+
char16_t fCurrency[4];
|
1069
1143
|
|
1070
1144
|
UDisplayContext fCapitalizationContext;
|
1071
1145
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
*******************************************************************************
|
@@ -193,7 +193,7 @@ private:
|
|
193
193
|
|
194
194
|
void setAlgorithmic(UBool algorithmic);
|
195
195
|
|
196
|
-
void setDesc(UnicodeString desc);
|
196
|
+
void setDesc(const UnicodeString &desc);
|
197
197
|
|
198
198
|
void setName(const char* name);
|
199
199
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
**********************************************************************
|
@@ -58,9 +58,9 @@ enum { U_PARSE_CONTEXT_LEN = 16 };
|
|
58
58
|
typedef struct UParseError {
|
59
59
|
|
60
60
|
/**
|
61
|
-
* The line on which the error
|
61
|
+
* The line on which the error occurred. If the parser uses this
|
62
62
|
* field, it sets it to the line number of the source text line on
|
63
|
-
* which the error appears, which will be
|
63
|
+
* which the error appears, which will be a value >= 1. If the
|
64
64
|
* parse does not support line numbers, the value will be <= 0.
|
65
65
|
* @stable ICU 2.0
|
66
66
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
* Copyright (C) 1997-2005, International Business Machines Corporation and others. All Rights Reserved.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
******************************************************************************
|
@@ -132,6 +132,8 @@
|
|
132
132
|
#define U_PF_BROWSER_NATIVE_CLIENT 4020
|
133
133
|
/** Android is based on Linux. @internal */
|
134
134
|
#define U_PF_ANDROID 4050
|
135
|
+
/** Fuchsia is a POSIX-ish platform. @internal */
|
136
|
+
#define U_PF_FUCHSIA 4100
|
135
137
|
/* Maximum value for Linux-based platform is 4499 */
|
136
138
|
/** z/OS is the successor to OS/390 which was the successor to MVS. @internal */
|
137
139
|
#define U_PF_OS390 9000
|
@@ -150,8 +152,10 @@
|
|
150
152
|
# define U_PLATFORM U_PF_ANDROID
|
151
153
|
/* Android wchar_t support depends on the API level. */
|
152
154
|
# include <android/api-level.h>
|
153
|
-
#elif defined(__native_client__)
|
155
|
+
#elif defined(__pnacl__) || defined(__native_client__)
|
154
156
|
# define U_PLATFORM U_PF_BROWSER_NATIVE_CLIENT
|
157
|
+
#elif defined(__Fuchsia__)
|
158
|
+
# define U_PLATFORM U_PF_FUCHSIA
|
155
159
|
#elif defined(linux) || defined(__linux__) || defined(__linux)
|
156
160
|
# define U_PLATFORM U_PF_LINUX
|
157
161
|
#elif defined(__APPLE__) && defined(__MACH__)
|
@@ -192,6 +196,20 @@
|
|
192
196
|
# define U_PLATFORM U_PF_UNKNOWN
|
193
197
|
#endif
|
194
198
|
|
199
|
+
/**
|
200
|
+
* \def UPRV_INCOMPLETE_CPP11_SUPPORT
|
201
|
+
* This switch turns off ICU 60 NumberFormatter code.
|
202
|
+
* By default, this switch is enabled on AIX and z/OS,
|
203
|
+
* which have poor C++11 support.
|
204
|
+
*
|
205
|
+
* NOTE: This switch is intended to be temporary; see #13393.
|
206
|
+
*
|
207
|
+
* @internal
|
208
|
+
*/
|
209
|
+
#ifndef UPRV_INCOMPLETE_CPP11_SUPPORT
|
210
|
+
# define UPRV_INCOMPLETE_CPP11_SUPPORT (U_PLATFORM == U_PF_AIX || U_PLATFORM == U_PF_OS390 || U_PLATFORM == U_PF_SOLARIS )
|
211
|
+
#endif
|
212
|
+
|
195
213
|
/**
|
196
214
|
* \def CYGWINMSVC
|
197
215
|
* Defined if this is Windows with Cygwin, but using MSVC rather than gcc.
|
@@ -233,6 +251,18 @@
|
|
233
251
|
# define U_PLATFORM_HAS_WIN32_API 0
|
234
252
|
#endif
|
235
253
|
|
254
|
+
/**
|
255
|
+
* \def U_PLATFORM_HAS_WINUWP_API
|
256
|
+
* Defines whether target is intended for Universal Windows Platform API
|
257
|
+
* Set to 1 for Windows10 Release Solution Configuration
|
258
|
+
* @internal
|
259
|
+
*/
|
260
|
+
#ifdef U_PLATFORM_HAS_WINUWP_API
|
261
|
+
/* Use the predefined value. */
|
262
|
+
#else
|
263
|
+
# define U_PLATFORM_HAS_WINUWP_API 0
|
264
|
+
#endif
|
265
|
+
|
236
266
|
/**
|
237
267
|
* \def U_PLATFORM_IMPLEMENTS_POSIX
|
238
268
|
* Defines whether the platform implements (most of) the POSIX API.
|
@@ -318,42 +348,6 @@
|
|
318
348
|
# define U_HAVE_INTTYPES_H U_HAVE_STDINT_H
|
319
349
|
#endif
|
320
350
|
|
321
|
-
/**
|
322
|
-
* \def U_IOSTREAM_SOURCE
|
323
|
-
* Defines what support for C++ streams is available.
|
324
|
-
*
|
325
|
-
* If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available
|
326
|
-
* (the ISO/IEC C++ FDIS was published in November 1997), and then
|
327
|
-
* one should qualify streams using the std namespace in ICU header
|
328
|
-
* files.
|
329
|
-
* Starting with ICU 49, this is the only supported version.
|
330
|
-
*
|
331
|
-
* If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is
|
332
|
-
* available instead (in June 1985 Stroustrup published
|
333
|
-
* "An Extensible I/O Facility for C++" at the summer USENIX conference).
|
334
|
-
* Starting with ICU 49, this version is not supported any more.
|
335
|
-
*
|
336
|
-
* If U_IOSTREAM_SOURCE is 0 (or any value less than 199711),
|
337
|
-
* then C++ streams are not available and
|
338
|
-
* support for them will be silently suppressed in ICU.
|
339
|
-
*
|
340
|
-
* @internal
|
341
|
-
*/
|
342
|
-
#ifndef U_IOSTREAM_SOURCE
|
343
|
-
#define U_IOSTREAM_SOURCE 199711
|
344
|
-
#endif
|
345
|
-
|
346
|
-
/**
|
347
|
-
* \def U_HAVE_STD_STRING
|
348
|
-
* Defines whether the standard C++ (STL) <string> header is available.
|
349
|
-
* @internal
|
350
|
-
*/
|
351
|
-
#ifdef U_HAVE_STD_STRING
|
352
|
-
/* Use the predefined value. */
|
353
|
-
#else
|
354
|
-
# define U_HAVE_STD_STRING 1
|
355
|
-
#endif
|
356
|
-
|
357
351
|
/*===========================================================================*/
|
358
352
|
/** @{ Compiler and environment features */
|
359
353
|
/*===========================================================================*/
|
@@ -430,7 +424,7 @@
|
|
430
424
|
# define U_HAVE_DEBUG_LOCATION_NEW 0
|
431
425
|
#endif
|
432
426
|
|
433
|
-
/* Compatibility with
|
427
|
+
/* Compatibility with compilers other than clang: http://clang.llvm.org/docs/LanguageExtensions.html */
|
434
428
|
#ifndef __has_attribute
|
435
429
|
# define __has_attribute(x) 0
|
436
430
|
#endif
|
@@ -488,29 +482,20 @@
|
|
488
482
|
/* Otherwise use the predefined value. */
|
489
483
|
#elif !defined(__cplusplus)
|
490
484
|
# define U_CPLUSPLUS_VERSION 0
|
491
|
-
#elif __cplusplus >= 201402L
|
485
|
+
#elif __cplusplus >= 201402L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L)
|
492
486
|
# define U_CPLUSPLUS_VERSION 14
|
493
|
-
#elif __cplusplus >= 201103L
|
487
|
+
#elif __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
|
494
488
|
# define U_CPLUSPLUS_VERSION 11
|
495
489
|
#else
|
496
490
|
// C++98 or C++03
|
497
491
|
# define U_CPLUSPLUS_VERSION 1
|
498
492
|
#endif
|
499
493
|
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
*/
|
506
|
-
#ifdef U_HAVE_RVALUE_REFERENCES
|
507
|
-
/* Use the predefined value. */
|
508
|
-
#elif U_CPLUSPLUS_VERSION >= 11 || __has_feature(cxx_rvalue_references) \
|
509
|
-
|| defined(__GXX_EXPERIMENTAL_CXX0X__) \
|
510
|
-
|| (defined(_MSC_VER) && _MSC_VER >= 1600) /* Visual Studio 2010 */
|
511
|
-
# define U_HAVE_RVALUE_REFERENCES 1
|
512
|
-
#else
|
513
|
-
# define U_HAVE_RVALUE_REFERENCES 0
|
494
|
+
#if (U_PLATFORM == U_PF_AIX || U_PLATFORM == U_PF_OS390) && defined(__cplusplus) &&(U_CPLUSPLUS_VERSION < 11)
|
495
|
+
// add in std::nullptr_t
|
496
|
+
namespace std {
|
497
|
+
typedef decltype(nullptr) nullptr_t;
|
498
|
+
};
|
514
499
|
#endif
|
515
500
|
|
516
501
|
/**
|
@@ -537,17 +522,22 @@
|
|
537
522
|
* http://clang.llvm.org/docs/AttributeReference.html#fallthrough-clang-fallthrough
|
538
523
|
* @internal
|
539
524
|
*/
|
540
|
-
#
|
525
|
+
#ifndef __cplusplus
|
526
|
+
// Not for C.
|
527
|
+
#elif defined(U_FALLTHROUGH)
|
528
|
+
// Use the predefined value.
|
529
|
+
#elif defined(__clang__)
|
530
|
+
// Test for compiler vs. feature separately.
|
531
|
+
// Other compilers might choke on the feature test.
|
541
532
|
# if __has_cpp_attribute(clang::fallthrough) || \
|
542
533
|
(__has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough"))
|
543
534
|
# define U_FALLTHROUGH [[clang::fallthrough]]
|
544
|
-
# else
|
545
|
-
# define U_FALLTHROUGH
|
546
535
|
# endif
|
547
|
-
#else
|
548
|
-
# define U_FALLTHROUGH
|
549
536
|
#endif
|
550
537
|
|
538
|
+
#ifndef U_FALLTHROUGH
|
539
|
+
# define U_FALLTHROUGH
|
540
|
+
#endif
|
551
541
|
|
552
542
|
/** @} */
|
553
543
|
|
@@ -641,7 +631,7 @@
|
|
641
631
|
*/
|
642
632
|
#ifdef U_CHARSET_IS_UTF8
|
643
633
|
/* Use the predefined value. */
|
644
|
-
#elif
|
634
|
+
#elif U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED
|
645
635
|
# define U_CHARSET_IS_UTF8 1
|
646
636
|
#else
|
647
637
|
# define U_CHARSET_IS_UTF8 0
|
@@ -759,11 +749,14 @@
|
|
759
749
|
#else
|
760
750
|
/*
|
761
751
|
* Notes:
|
762
|
-
* Visual Studio
|
763
|
-
* does not support u"abc" string literals.
|
752
|
+
* Visual Studio 2010 (_MSC_VER==1600) defines char16_t as a typedef
|
753
|
+
* and does not support u"abc" string literals.
|
754
|
+
* Visual Studio 2015 (_MSC_VER>=1900) and above adds support for
|
755
|
+
* both char16_t and u"abc" string literals.
|
764
756
|
* gcc 4.4 defines the __CHAR16_TYPE__ macro to a usable type but
|
765
757
|
* does not support u"abc" string literals.
|
766
758
|
* C++11 and C11 require support for UTF-16 literals
|
759
|
+
* TODO: Fix for plain C. Doesn't work on Mac.
|
767
760
|
*/
|
768
761
|
# if U_CPLUSPLUS_VERSION >= 11 || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
|
769
762
|
# define U_HAVE_CHAR16_T 1
|
@@ -857,6 +850,16 @@
|
|
857
850
|
# define U_CALLCONV U_EXPORT2
|
858
851
|
#endif
|
859
852
|
|
853
|
+
/**
|
854
|
+
* \def U_CALLCONV_FPTR
|
855
|
+
* Similar to U_CALLCONV, but only used on function pointers.
|
856
|
+
* @internal
|
857
|
+
*/
|
858
|
+
#if U_PLATFORM == U_PF_OS390 && defined(__cplusplus)
|
859
|
+
# define U_CALLCONV_FPTR U_CALLCONV
|
860
|
+
#else
|
861
|
+
# define U_CALLCONV_FPTR
|
862
|
+
#endif
|
860
863
|
/* @} */
|
861
864
|
|
862
865
|
#endif
|