Jacek Caban : mshtml: Use constant instead of define for REDIRECT_* flags.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Feb 19 09:17:34 CST 2015
Module: wine
Branch: master
Commit: 1f310395eb699df247c006143da2f25700ed6eda
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f310395eb699df247c006143da2f25700ed6eda
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Feb 18 18:00:26 2015 +0100
mshtml: Use constant instead of define for REDIRECT_* flags.
---
dlls/mshtml/nsiface.idl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 9ba7c05..d7ced56 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -711,9 +711,9 @@ interface nsIAsyncVerifyRedirectCallback : nsISupports
]
interface nsIChannelEventSink : nsISupports
{
- cpp_quote("#define REDIRECT_TEMPORARY 1")
- cpp_quote("#define REDIRECT_PERMANENT 2")
- cpp_quote("#define REDIRECT_INTERNAL 4")
+ const UINT REDIRECT_TEMPORARY = 1;
+ const UINT REDIRECT_PERMANENT = 2;
+ const UINT REDIRECT_INTERNAL = 4;
nsresult AsyncOnChannelRedirect(nsIChannel *oldChannel, nsIChannel *newChannel, uint32_t flags,
nsIAsyncVerifyRedirectCallback *callback);
More information about the wine-cvs
mailing list