comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/browser/Download_1_8.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
64 refCount++; 64 refCount++;
65 return refCount; 65 return refCount;
66 } 66 }
67 67
68 extern(System) 68 extern(System)
69 nsresult QueryInterface ( cnsID* riid, void** ppvObject) { 69 nsresult QueryInterface ( in cnsID* riid, void** ppvObject) {
70 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE; 70 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE;
71 71
72 if (*riid == nsISupports.IID) { 72 if (*riid == nsISupports.IID) {
73 *ppvObject = cast(void*)cast(nsISupports)this; 73 *ppvObject = cast(void*)cast(nsISupports)this;
74 AddRef(); 74 AddRef();