Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsISupports.d @ 348:9a4d7706df52
Test Update to fix linux XPCOM interface issues
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:46:44 -0700 |
parents | 942da4b6558a |
children |
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsISupports.d Wed Oct 29 20:12:27 2008 -0700 +++ b/dwt/internal/mozilla/nsISupports.d Fri Oct 31 21:46:44 2008 -0700 @@ -9,13 +9,12 @@ { 0x00000000, 0x0000, 0x0000, [ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ] }; -//extern(System) - -interface nsISupports +interface IUnknown { static const char[] IID_STR = NS_ISUPPORTS_IID_STR; static const nsIID IID = NS_ISUPPORTS_IID; +extern(System): nsresult QueryInterface( nsIID* uuid, void **result); nsrefcnt AddRef(); @@ -28,4 +27,4 @@ // compatible with MS COM. XPCOM's nsISupports interface is the exact equivalent // of IUnknown so we alias it here to take advantage of D's COM support. -JJR -//alias IUnknown nsISupports; \ No newline at end of file +alias IUnknown nsISupports; \ No newline at end of file