Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 1443

Show
Ignore:
Timestamp:
01/27/07 16:57:55 (2 years ago)
Author:
sean
Message:

More fixes for GDC.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/object.di

    r1441 r1443  
    3535    uint        flags; 
    3636    // 1:                   // IUnknown 
     37  version( DigitalMars ) 
     38  { 
    3739    // 2:                   // has no possible pointers into GC memory 
    3840    // 4:                   // has offTi[] member 
    3941    void*       deallocator; 
    40   version( DigitalMars ) 
    4142    OffsetTypeInfo[] offTi; 
     43  } 
    4244} 
    4345 
     
    5557    size_t   tsize(); 
    5658    void     swap(void *p1, void *p2); 
     59  version( DigitalMars ) 
     60  { 
    5761    TypeInfo next(); 
    5862    void[]   init(); 
    5963    uint     flags(); 
    6064    // 1:                   // has possible pointers into GC memory 
    61   version( DigitalMars ) 
    6265    OffsetTypeInfo[] offTi(); 
     66  } 
    6367} 
    6468 
     
    6771    TypeInfo base; 
    6872    char[]   name; 
     73  version( DigitalMars ) 
    6974    void[]   m_init; 
    7075} 
     
    7681class TypeInfo_Pointer : TypeInfo 
    7782{ 
     83  version( DigitalMars ) 
    7884    TypeInfo m_next; 
     85  else 
     86    TypeInfo next; 
    7987} 
    8088 
    8189class TypeInfo_Array : TypeInfo 
    8290{ 
     91  version( DigitalMars ) 
    8392    TypeInfo value; 
     93  else 
     94    TypeInfo next; 
    8495} 
    8596 
    8697class TypeInfo_StaticArray : TypeInfo 
    8798{ 
     99  version( DigitalMars ) 
    88100    TypeInfo value; 
     101  else 
     102    TypeInfo next; 
    89103    size_t   len; 
    90104} 
     
    92106class TypeInfo_AssociativeArray : TypeInfo 
    93107{ 
     108  version( DigitalMars ) 
    94109    TypeInfo value; 
     110  else 
     111    TypeInfo next; 
    95112    TypeInfo key; 
    96113} 
     
    119136{ 
    120137    char[] name; 
     138  version( DigitalMars ) 
    121139    void[] m_init; 
     140  else 
     141    byte[] init; 
    122142 
    123143    uint function(void*)      xtoHash; 
     
    126146    char[] function(void*)    xtoString; 
    127147 
     148  version( DigitalMars ) 
    128149    uint m_flags; 
    129150}