Changeset 4:bf9fe45b4422

Show
Ignore:
Timestamp:
01/25/08 07:01:53 (10 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

C, Platform, Point, Rectangle

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/DWT.d

    r0 r4  
    1111 *      Frank Benoit <benoit@tionex.de> 
    1212 *******************************************************************************/ 
    13 package dwt.DWT; 
     13module dwt.DWT; 
    1414 
    1515 
     
    34303430 */ 
    34313431public static char[] getMessage(char[] key) { 
    3432     return Compatibility.getMessage(key); 
     3432    //return Compatibility.getMessage(key); 
     3433    return ""; 
    34333434} 
    34343435 
  • dwt/DWTError.d

    r0 r4  
    7575 * @param message the detail message for the exception 
    7676 */ 
    77 public this (String message) { 
     77public this (char[] message) { 
    7878    this (DWT.ERROR_UNSPECIFIED, message); 
    7979} 
     
    154154 
    155155} 
     156} 
     157 
     158 
     159 
  • dwt/DWTException.d

    r0 r4  
    145145} 
    146146 
     147} 
    147148 
  • dwt/internal/Library.d

    r2 r4  
    4747    public static const int SWT_VERSION = .buildSWT_VERSION(MAJOR_VERSION, MINOR_VERSION); 
    4848 
    49     version( linux ){ 
    50         static const char[] SEPARATOR = "\n"; 
     49    version( Windows ){ 
     50        static const char[] SEPARATOR = "\r\n"; 
    5151    } 
    5252    else { 
    53         static assert( false, "only linux supported for this port" ); 
     53        static assert( false, "only windows supported for this port" ); 
    5454    } 
    5555