Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/browser/InputStream.d @ 54:70388b0e6dad
[swt lin] compiles
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 23:31:11 +0100 |
parents | 7e78af7adab5 |
children |
comparison
equal
deleted
inserted
replaced
53:7e78af7adab5 | 54:70388b0e6dad |
---|---|
38 refCount++; | 38 refCount++; |
39 return refCount; | 39 return refCount; |
40 } | 40 } |
41 | 41 |
42 extern(System) | 42 extern(System) |
43 nsresult QueryInterface (cnsID* riid, void** ppvObject) { | 43 nsresult QueryInterface (in nsID* riid, void** ppvObject) { |
44 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE; | 44 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE; |
45 //nsID guid = new nsID (); | 45 //nsID guid = new nsID (); |
46 //XPCOM.memmove (guid, riid, nsID.sizeof); | 46 //XPCOM.memmove (guid, riid, nsID.sizeof); |
47 | 47 |
48 if (*riid == nsISupports.IID) { | 48 if (*riid == nsISupports.IID) { |