Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/ole/win32/COM.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | d46287db17ed |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/ole/win32/COM.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/ole/win32/COM.d Wed Mar 16 21:53:53 2011 +0900 @@ -861,7 +861,7 @@ */ // BSTR is aliased to wchar* // Note : Free the "bstr" memory if freeTheString is true, default false -String BSTRToStr( /*BSTR*/ inout wchar* bstr, bool freeTheString = false){ +String BSTRToStr( /*BSTR*/ ref wchar* bstr, bool freeTheString = false){ if(bstr is null) return null; int size = (SysStringByteLen(bstr) + 1)/wchar.sizeof; String result = WCHARzToStr(bstr, size);