Changeset 201:6293c40673a4

Show
Ignore:
Timestamp:
04/11/08 17:22:24 (5 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

sync with dwt-linux

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dwthelper/utils.d

    r200 r201  
    9595        return value; 
    9696    } 
     97    public static Boolean valueOf( char[] s ){ 
     98        if( s == "yes" || s == "true" ){ 
     99            return TRUE; 
     100        } 
     101        return FALSE; 
     102    } 
     103    public static Boolean valueOf( bool b ){ 
     104        return b ? TRUE : FALSE; 
     105    } 
    97106} 
    98107