diff dwtx/dwtxhelper/mangoicu/ULocale.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/ULocale.d	Sun Jul 06 23:30:07 2008 +0200
+++ b/dwtx/dwtxhelper/mangoicu/ULocale.d	Mon Jul 07 15:53:07 2008 +0200
@@ -82,9 +82,9 @@
 
 *******************************************************************************/
 
-module dwtx.dwthelper.mangoicu.ULocale;
+module dwtx.dwtxhelper.mangoicu.ULocale;
 
-private import dwtx.dwthelper.mangoicu.ICU;
+private import dwtx.dwtxhelper.mangoicu.ICU;
 
 /*******************************************************************************
 
@@ -169,7 +169,7 @@
         
         static void setDefault (inout ULocale locale)
         {
-                ICU.Error e;
+                ICU.UErrorCode e;
                 
                 uloc_setDefault (ICU.toString(locale.name), e);
                 
@@ -196,7 +196,7 @@
         private static extern (C) 
         {
                 char* function () uloc_getDefault;
-                void  function (char*, inout ICU.Error) uloc_setDefault;
+                void  function (char*, inout ICU.UErrorCode) uloc_setDefault;
         }
 
         /**********************************************************************