Changeset 1443
- Timestamp:
- 01/27/07 16:57:55 (2 years ago)
- Files:
-
- trunk/object.di (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/object.di
r1441 r1443 35 35 uint flags; 36 36 // 1: // IUnknown 37 version( DigitalMars ) 38 { 37 39 // 2: // has no possible pointers into GC memory 38 40 // 4: // has offTi[] member 39 41 void* deallocator; 40 version( DigitalMars )41 42 OffsetTypeInfo[] offTi; 43 } 42 44 } 43 45 … … 55 57 size_t tsize(); 56 58 void swap(void *p1, void *p2); 59 version( DigitalMars ) 60 { 57 61 TypeInfo next(); 58 62 void[] init(); 59 63 uint flags(); 60 64 // 1: // has possible pointers into GC memory 61 version( DigitalMars )62 65 OffsetTypeInfo[] offTi(); 66 } 63 67 } 64 68 … … 67 71 TypeInfo base; 68 72 char[] name; 73 version( DigitalMars ) 69 74 void[] m_init; 70 75 } … … 76 81 class TypeInfo_Pointer : TypeInfo 77 82 { 83 version( DigitalMars ) 78 84 TypeInfo m_next; 85 else 86 TypeInfo next; 79 87 } 80 88 81 89 class TypeInfo_Array : TypeInfo 82 90 { 91 version( DigitalMars ) 83 92 TypeInfo value; 93 else 94 TypeInfo next; 84 95 } 85 96 86 97 class TypeInfo_StaticArray : TypeInfo 87 98 { 99 version( DigitalMars ) 88 100 TypeInfo value; 101 else 102 TypeInfo next; 89 103 size_t len; 90 104 } … … 92 106 class TypeInfo_AssociativeArray : TypeInfo 93 107 { 108 version( DigitalMars ) 94 109 TypeInfo value; 110 else 111 TypeInfo next; 95 112 TypeInfo key; 96 113 } … … 119 136 { 120 137 char[] name; 138 version( DigitalMars ) 121 139 void[] m_init; 140 else 141 byte[] init; 122 142 123 143 uint function(void*) xtoHash; … … 126 146 char[] function(void*) xtoString; 127 147 148 version( DigitalMars ) 128 149 uint m_flags; 129 150 }












