Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/atk/State.d

    r411 r480  
    4747 * module aliases: 
    4848 * local aliases: 
     49 * overrides: 
    4950 */ 
    5051 
     
    7879     * Returns: an AtkState value for the new state. 
    7980     */ 
    80     public static AtkStateType typeRegister(char[] name) 
     81    public static AtkStateType typeRegister(string name) 
    8182    { 
    8283        // AtkStateType atk_state_type_register (const gchar *name); 
     
    9091     * Returns: the string describing the AtkStateType 
    9192     */ 
    92     public static char[] typeGetName(AtkStateType type) 
     93    public static string typeGetName(AtkStateType type) 
    9394    { 
    9495        // const gchar* atk_state_type_get_name (AtkStateType type); 
    95         return Str.toString(atk_state_type_get_name(type)).dup
     96        return Str.toString(atk_state_type_get_name(type))
    9697    } 
    9798     
     
    102103     * Returns: an AtkStateType corresponding to name 
    103104     */ 
    104     public static AtkStateType typeForName(char[] name) 
     105    public static AtkStateType typeForName(string name) 
    105106    { 
    106107        // AtkStateType atk_state_type_for_name (const gchar *name);