diff dwt/dwthelper/System.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents 184ab53b7785
children cba62ee36290
line wrap: on
line diff
--- a/dwt/dwthelper/System.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/dwthelper/System.d	Mon May 05 00:12:38 2008 +0200
@@ -7,6 +7,8 @@
 import tango.time.Clock;
 import tango.stdc.stdlib : exit;
 
+import dwt.dwthelper.utils;
+
 template SimpleType(T) {
     debug{
         static void validCheck(uint SrcLen, uint DestLen, uint copyLen){
@@ -135,7 +137,7 @@
         return (*cast(Object *)&x).toHash();
     }
 
-    public static char[] getProperty( char[] key ){
+    public static String getProperty( String key ){
         switch( key ){
         case "os.name": return "windows";
         default: return null;