Mercurial > projects > dwt-addons
diff dwtx/dwtxhelper/mangoicu/UChar.d @ 91:11e8159caf7a
make the mango icu fork work.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 07 Jul 2008 15:53:07 +0200 |
parents | 040da1cb0d76 |
children | f05207c07a98 |
line wrap: on
line diff
--- a/dwtx/dwtxhelper/mangoicu/UChar.d Sun Jul 06 23:30:07 2008 +0200 +++ b/dwtx/dwtxhelper/mangoicu/UChar.d Mon Jul 07 15:53:07 2008 +0200 @@ -83,9 +83,9 @@ *******************************************************************************/ -module dwtx.dwthelper.mangoicu.UChar; +module dwtx.dwtxhelper.mangoicu.UChar; -private import dwtx.dwthelper.mangoicu.ICU; +private import dwtx.dwtxhelper.mangoicu.ICU; /******************************************************************************* @@ -672,7 +672,7 @@ char[] getCharName (dchar c, CharNameChoice choice, inout char[] dst) { - Error e; + UErrorCode e; uint len = u_charName (c, choice, dst.ptr, dst.length, e); testError (e, "failed to extract char name (buffer too small?)"); @@ -687,7 +687,7 @@ char[] getComment (dchar c, inout char[] dst) { - Error e; + UErrorCode e; uint len = u_getISOComment (c, dst.ptr, dst.length, e); testError (e, "failed to extract comment (buffer too small?)"); @@ -703,7 +703,7 @@ dchar charFromName (CharNameChoice choice, char[] name) { - Error e; + UErrorCode e; dchar c = u_charFromName (choice, toString(name), e); testError (e, "failed to locate char name"); @@ -1152,9 +1152,9 @@ uint function (uint) u_getIntPropertyMaxValue; uint function (dchar) u_charDirection; uint function (dchar) ublock_getCode; - uint function (dchar, uint, char*, uint, inout Error) u_charName; - uint function (dchar, char*, uint, inout Error) u_getISOComment; - uint function (uint, char*, inout Error) u_charFromName; + uint function (dchar, uint, char*, uint, inout UErrorCode) u_charName; + uint function (dchar, char*, uint, inout UErrorCode) u_getISOComment; + uint function (uint, char*, inout UErrorCode) u_charFromName; char* function (uint, uint) u_getPropertyName; char* function (uint, uint, uint) u_getPropertyValueName; void function (inout Version) u_getUnicodeVersion;