diff dwt/browser/InputStream.d @ 343:96243e3ebcf0

Mozilla.d compiles successfully :)
author John Reimer <terminal.node@gmail.com>
date Mon, 27 Oct 2008 06:28:02 -0700
parents 942da4b6558a
children 5abc6f7f7a95
line wrap: on
line diff
--- a/dwt/browser/InputStream.d	Sun Oct 26 21:23:56 2008 -0700
+++ b/dwt/browser/InputStream.d	Mon Oct 27 06:28:02 2008 -0700
@@ -21,6 +21,7 @@
 import dwt.internal.mozilla.nsID;
 import dwt.internal.mozilla.nsIInputStream;
 import dwt.internal.mozilla.nsISupports;
+import dwt.internal.mozilla.Common;
 
 class InputStream : nsIInputStream {
     //XPCOMObject inputStream;
@@ -120,7 +121,7 @@
     return XPCOM.NS_OK;
 }
 
-nsresult ReadSegments (nsWriteSegFun aWriter, void* aClosure, PRUint32 aCount, PRUint32* _retval) {
+nsresult ReadSegments (nsWriteSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32* _retval) {
     int max = Math.min (aCount, buffer is null ? 0 : buffer.length - index);
     PRUint32 cnt = max;
     while (cnt > 0) {