comparison dmd/OutBuffer.d @ 12:832f71e6f96c

*Exp and *AssignExp arrayOp implementation added (might be a bit incomplete) Some unittest-specific functions implemented
author korDen
date Mon, 12 Apr 2010 15:13:00 +0400
parents 63623152e82a
children 544b922227c7
comparison
equal deleted inserted replaced
11:3356c90e9aac 12:832f71e6f96c
193 assert(0); 193 assert(0);
194 } 194 }
195 195
196 final void write4(uint w) 196 final void write4(uint w)
197 { 197 {
198 assert(false); 198 reserve(4);
199 *cast(uint*)(this.data + offset) = w;
200 offset += 4;
199 } 201 }
200 202
201 final void write(OutBuffer buf) 203 final void write(OutBuffer buf)
202 { 204 {
203 if (buf) 205 if (buf)