Andrew Talbot : mshtml: Write-strings warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 25 05:26:55 CDT 2006
Module: wine
Branch: master
Commit: 167f9f9abaae28d1dd476ef578e2d0514f1e3d27
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=167f9f9abaae28d1dd476ef578e2d0514f1e3d27
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Aug 24 20:54:13 2006 +0100
mshtml: Write-strings warnings fix.
---
dlls/mshtml/nsiface.idl | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 5de6916..8bd59c4 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -34,9 +34,9 @@ typedef REFIID nsIIDRef;
typedef nsIIDRef nsCIDRef;
typedef void** nsQIResult;
-typedef LPSTR nsstring;
+typedef LPCSTR nscstring;
typedef WCHAR PRUnichar;
-typedef LPWSTR nswstring;
+typedef LPCWSTR nscwstring;
typedef ULONG PRUint32;
typedef LONG PRInt32;
typedef WORD PRUint16;
@@ -118,9 +118,9 @@ typedef nsISupports nsICommandParams;
interface nsIServiceManager : nsISupports
{
nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
- nsresult GetServiceByContactID(nsstring aContactID, nsIIDRef aIID, void **result);
+ nsresult GetServiceByContactID(nscstring aContactID, nsIIDRef aIID, void **result);
nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
- nsresult IsServiceInstantiatedByContractID(nsstring aContractID, nsIIDRef aIID, BOOL *_retval);
+ nsresult IsServiceInstantiatedByContractID(nscstring aContractID, nsIIDRef aIID, BOOL *_retval);
}
[
@@ -139,7 +139,7 @@ interface nsIFactory : nsISupports
]
interface nsIObserver : nsISupports
{
- nsresult Observe(nsISupports *aSubject, nsstring aTopic, nswstring aData);
+ nsresult Observe(nsISupports *aSubject, nscstring aTopic, nscwstring aData);
}
[
@@ -149,10 +149,10 @@ interface nsIObserver : nsISupports
interface nsIComponentManager : nsISupports
{
nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID, nsQIResult result);
- nsresult GetClassObjectByContractID(nsstring aContractID, nsIIDRef aIID, nsQIResult result);
+ nsresult GetClassObjectByContractID(nscstring aContractID, nsIIDRef aIID, nsQIResult result);
nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
nsQIResult result);
- nsresult CreateInstanceByContractID(nsstring aContractID, nsISupports *aDelegate,
+ nsresult CreateInstanceByContractID(nscstring aContractID, nsISupports *aDelegate,
nsIIDRef aIID, nsQIResult result);
}
More information about the wine-cvs
mailing list