comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/image/TIFFRandomFileAccess.d @ 49:7a2dd761a8b2

more work until dmd 2.026 linux segfaults.
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 12:59:54 +0100
parents ddbfe84d86df
children 536e43f63c81
comparison
equal deleted inserted replaced
48:ddbfe84d86df 49:7a2dd761a8b2
20 20
21 LEDataInputStream inputStream; 21 LEDataInputStream inputStream;
22 int start, current, next; 22 int start, current, next;
23 byte[][] buffers; 23 byte[][] buffers;
24 24
25 static final int CHUNK_SIZE = 8192; 25 static const int CHUNK_SIZE = 8192;
26 static final int LIST_SIZE = 128; 26 static const int LIST_SIZE = 128;
27 27
28 public this(LEDataInputStream stream) { 28 public this(LEDataInputStream stream) {
29 inputStream = stream; 29 inputStream = stream;
30 start = current = next = inputStream.getPosition(); 30 start = current = next = inputStream.getPosition();
31 buffers = new byte[][](LIST_SIZE); 31 buffers = new byte[][](LIST_SIZE);