Changeset 479

Show
Ignore:
Timestamp:
03/25/08 17:01:29 (5 months ago)
Author:
Mike Wey
Message:

Some compiletime magic for the string alias

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wrap/APILookupGLib.txt

    r478 r479  
    5959public alias uint XID; 
    6060 
    61 version(Tango) private alias char[] string; 
     61version(Tango) 
     62
     63    //avoid some conflicts with other string aliases. 
     64    static if( !is(string) ) 
     65        private alias char[] string; 
     66
    6267 
    6368addTypedefs: end