Mercurial > projects > dwt-mac
diff dwt/internal/mozilla/nsISupports.d @ 154:535243e6d16a
Fixes to make dwt compile with ldc
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 13 Jun 2009 00:25:05 +0200 |
parents | 5583f8eeee6c |
children |
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsISupports.d Thu Jun 11 01:36:32 2009 +0200 +++ b/dwt/internal/mozilla/nsISupports.d Sat Jun 13 00:25:05 2009 +0200 @@ -12,11 +12,10 @@ interface IUnknown { static const char[] IID_STR = NS_ISUPPORTS_IID_STR; - static const nsIID IID = NS_ISUPPORTS_IID; + static /*const*/ nsIID IID = NS_ISUPPORTS_IID; // const causes bug in ldc TODO -extern(System): +extern(System): //causes assert in ldc TODO nsresult QueryInterface( nsIID* uuid, void **result); - nsrefcnt AddRef(); nsrefcnt Release(); }