Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9ca80347
Commit
9ca80347
authored
Aug 02, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of useless nsQIResult type.
parent
7fb60317
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
32 deletions
+31
-32
mutation.c
dlls/mshtml/mutation.c
+2
-2
navigate.c
dlls/mshtml/navigate.c
+1
-1
nsembed.c
dlls/mshtml/nsembed.c
+9
-9
nsevents.c
dlls/mshtml/nsevents.c
+1
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+5
-6
nsio.c
dlls/mshtml/nsio.c
+9
-9
nsservice.c
dlls/mshtml/nsservice.c
+4
-4
No files found.
dlls/mshtml/mutation.c
View file @
9ca80347
...
...
@@ -200,7 +200,7 @@ static void add_script_runner(HTMLDocumentNode *This)
#define NSRUNNABLE_THIS(iface) DEFINE_THIS(HTMLDocumentNode, IRunnable, iface)
static
nsresult
NSAPI
nsRunnable_QueryInterface
(
nsIRunnable
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
HTMLDocumentNode
*
This
=
NSRUNNABLE_THIS
(
iface
);
...
...
@@ -460,7 +460,7 @@ static const nsIRunnableVtbl nsRunnableVtbl = {
#define NSDOCOBS_THIS(iface) DEFINE_THIS(HTMLDocumentNode, IDocumentObserver, iface)
static
nsresult
NSAPI
nsDocumentObserver_QueryInterface
(
nsIDocumentObserver
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
HTMLDocumentNode
*
This
=
NSDOCOBS_THIS
(
iface
);
...
...
dlls/mshtml/navigate.c
View file @
9ca80347
...
...
@@ -93,7 +93,7 @@ struct BSCallback {
#define NSINSTREAM_THIS(iface) DEFINE_THIS(nsProtocolStream, InputStream, iface)
static
nsresult
NSAPI
nsInputStream_QueryInterface
(
nsIInputStream
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
nsProtocolStream
*
This
=
NSINSTREAM_THIS
(
iface
);
...
...
dlls/mshtml/nsembed.c
View file @
9ca80347
...
...
@@ -795,7 +795,7 @@ void close_gecko(void)
#define NSWBCHROME_THIS(iface) DEFINE_THIS(NSContainer, WebBrowserChrome, iface)
static
nsresult
NSAPI
nsWebBrowserChrome_QueryInterface
(
nsIWebBrowserChrome
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSWBCHROME_THIS
(
iface
);
...
...
@@ -979,7 +979,7 @@ static const nsIWebBrowserChromeVtbl nsWebBrowserChromeVtbl = {
#define NSCML_THIS(iface) DEFINE_THIS(NSContainer, ContextMenuListener, iface)
static
nsresult
NSAPI
nsContextMenuListener_QueryInterface
(
nsIContextMenuListener
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSCML_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1061,7 +1061,7 @@ static const nsIContextMenuListenerVtbl nsContextMenuListenerVtbl = {
#define NSURICL_THIS(iface) DEFINE_THIS(NSContainer, URIContentListener, iface)
static
nsresult
NSAPI
nsURIContentListener_QueryInterface
(
nsIURIContentListener
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSURICL_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1231,7 +1231,7 @@ static const nsIURIContentListenerVtbl nsURIContentListenerVtbl = {
#define NSEMBWNDS_THIS(iface) DEFINE_THIS(NSContainer, EmbeddingSiteWindow, iface)
static
nsresult
NSAPI
nsEmbeddingSiteWindow_QueryInterface
(
nsIEmbeddingSiteWindow
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSEMBWNDS_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1339,7 +1339,7 @@ static const nsIEmbeddingSiteWindowVtbl nsEmbeddingSiteWindowVtbl = {
#define NSTOOLTIP_THIS(iface) DEFINE_THIS(NSContainer, TooltipListener, iface)
static
nsresult
NSAPI
nsTooltipListener_QueryInterface
(
nsITooltipListener
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
NSContainer
*
This
=
NSTOOLTIP_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1391,7 +1391,7 @@ static const nsITooltipListenerVtbl nsTooltipListenerVtbl = {
#define NSIFACEREQ_THIS(iface) DEFINE_THIS(NSContainer, InterfaceRequestor, iface)
static
nsresult
NSAPI
nsInterfaceRequestor_QueryInterface
(
nsIInterfaceRequestor
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSIFACEREQ_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1410,7 +1410,7 @@ static nsrefcnt NSAPI nsInterfaceRequestor_Release(nsIInterfaceRequestor *iface)
}
static
nsresult
NSAPI
nsInterfaceRequestor_GetInterface
(
nsIInterfaceRequestor
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSIFACEREQ_THIS
(
iface
);
...
...
@@ -1434,7 +1434,7 @@ static const nsIInterfaceRequestorVtbl nsInterfaceRequestorVtbl = {
#define NSWEAKREF_THIS(iface) DEFINE_THIS(NSContainer, WeakReference, iface)
static
nsresult
NSAPI
nsWeakReference_QueryInterface
(
nsIWeakReference
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSWEAKREF_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
@@ -1471,7 +1471,7 @@ static const nsIWeakReferenceVtbl nsWeakReferenceVtbl = {
#define NSSUPWEAKREF_THIS(iface) DEFINE_THIS(NSContainer, SupportsWeakReference, iface)
static
nsresult
NSAPI
nsSupportsWeakReference_QueryInterface
(
nsISupportsWeakReference
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
NSContainer
*
This
=
NSSUPWEAKREF_THIS
(
iface
);
return
nsIWebBrowserChrome_QueryInterface
(
NSWBCHROME
(
This
),
riid
,
result
);
...
...
dlls/mshtml/nsevents.c
View file @
9ca80347
...
...
@@ -69,7 +69,7 @@ static LONG release_listener(nsDocumentEventListener *This)
#define NSEVENTLIST_THIS(iface) DEFINE_THIS(nsEventListener, DOMEventListener, iface)
static
nsresult
NSAPI
nsDOMEventListener_QueryInterface
(
nsIDOMEventListener
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
nsEventListener
*
This
=
NSEVENTLIST_THIS
(
iface
);
...
...
dlls/mshtml/nsiface.idl
View file @
9ca80347
...
...
@@ -42,7 +42,6 @@ typedef nsIID nsCID;
typedef
REFIID
nsIIDRef
;
typedef
nsIIDRef
nsCIDRef
;
typedef
void
**
nsQIResult
;
typedef
WCHAR
PRUnichar
;
typedef
ULONG
PRUint32
;
typedef
LONG
PRInt32
;
...
...
@@ -100,7 +99,7 @@ interface IMoniker;
]
interface
nsISupports
{
nsresult
QueryInterface
(
nsIIDRef
riid
,
nsQIResult
result
)
;
nsresult
QueryInterface
(
nsIIDRef
riid
,
void
**
result
)
;
nsrefcnt
AddRef
()
;
nsrefcnt
Release
()
;
}
...
...
@@ -189,12 +188,12 @@ interface nsIObserver : nsISupports
]
interface nsIComponentManager : nsISupports
{
nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID,
nsQIResult
result);
nsresult GetClassObjectByContractID(const char *aContractID, nsIIDRef aIID,
nsQIResult
result);
nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID,
void **
result);
nsresult GetClassObjectByContractID(const char *aContractID, nsIIDRef aIID,
void **
result);
nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
nsQIResult
result);
void **
result);
nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
nsIIDRef aIID,
nsQIResult
result);
nsIIDRef aIID,
void **
result);
}
[
...
...
dlls/mshtml/nsio.c
View file @
9ca80347
...
...
@@ -313,7 +313,7 @@ static inline BOOL is_http_channel(nsChannel *This)
#define NSCHANNEL_THIS(iface) DEFINE_THIS(nsChannel, HttpChannel, iface)
static
nsresult
NSAPI
nsChannel_QueryInterface
(
nsIHttpChannel
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
static
nsresult
NSAPI
nsChannel_QueryInterface
(
nsIHttpChannel
*
iface
,
nsIIDRef
riid
,
void
**
result
)
{
nsChannel
*
This
=
NSCHANNEL_THIS
(
iface
);
...
...
@@ -1201,7 +1201,7 @@ static const nsIHttpChannelVtbl nsChannelVtbl = {
#define NSUPCHANNEL_THIS(iface) DEFINE_THIS(nsChannel, UploadChannel, iface)
static
nsresult
NSAPI
nsUploadChannel_QueryInterface
(
nsIUploadChannel
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
nsChannel
*
This
=
NSUPCHANNEL_THIS
(
iface
);
return
nsIChannel_QueryInterface
(
NSCHANNEL
(
This
),
riid
,
result
);
...
...
@@ -1275,7 +1275,7 @@ static const nsIUploadChannelVtbl nsUploadChannelVtbl = {
#define NSHTTPINTERNAL_THIS(iface) DEFINE_THIS(nsChannel, IHttpChannelInternal, iface)
static
nsresult
NSAPI
nsHttpChannelInternal_QueryInterface
(
nsIHttpChannelInternal
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
nsChannel
*
This
=
NSHTTPINTERNAL_THIS
(
iface
);
return
nsIChannel_QueryInterface
(
NSCHANNEL
(
This
),
riid
,
result
);
...
...
@@ -1383,7 +1383,7 @@ static const nsIHttpChannelInternalVtbl nsHttpChannelInternalVtbl = {
#define NSURI_THIS(iface) DEFINE_THIS(nsWineURI, IURL, iface)
static
nsresult
NSAPI
nsURI_QueryInterface
(
nsIURL
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
static
nsresult
NSAPI
nsURI_QueryInterface
(
nsIURL
*
iface
,
nsIIDRef
riid
,
void
**
result
)
{
nsWineURI
*
This
=
NSURI_THIS
(
iface
);
...
...
@@ -2238,7 +2238,7 @@ typedef struct {
#define NSPROTHANDLER_THIS(iface) DEFINE_THIS(nsProtocolHandler, ProtocolHandler, iface)
static
nsresult
NSAPI
nsProtocolHandler_QueryInterface
(
nsIProtocolHandler
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
nsProtocolHandler
*
This
=
NSPROTHANDLER_THIS
(
iface
);
...
...
@@ -2386,7 +2386,7 @@ static nsIProtocolHandler *create_protocol_handler(nsIProtocolHandler *nshandler
return
NSPROTHANDLER
(
ret
);
}
static
nsresult
NSAPI
nsIOService_QueryInterface
(
nsIIOService
*
,
nsIIDRef
,
nsQIResult
);
static
nsresult
NSAPI
nsIOService_QueryInterface
(
nsIIOService
*
,
nsIIDRef
,
void
**
);
static
nsrefcnt
NSAPI
nsIOService_AddRef
(
nsIIOService
*
iface
)
{
...
...
@@ -2619,7 +2619,7 @@ static const nsIIOServiceVtbl nsIOServiceVtbl = {
static
nsIIOService
nsIOService
=
{
&
nsIOServiceVtbl
};
static
nsresult
NSAPI
nsNetUtil_QueryInterface
(
nsINetUtil
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
return
nsIIOService_QueryInterface
(
&
nsIOService
,
riid
,
result
);
}
...
...
@@ -2717,7 +2717,7 @@ static const nsINetUtilVtbl nsNetUtilVtbl = {
static
nsINetUtil
nsNetUtil
=
{
&
nsNetUtilVtbl
};
static
nsresult
NSAPI
nsIOService_QueryInterface
(
nsIIOService
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
*
result
=
NULL
;
...
...
@@ -2738,7 +2738,7 @@ static nsresult NSAPI nsIOService_QueryInterface(nsIIOService *iface, nsIIDRef r
}
static
nsresult
NSAPI
nsIOServiceFactory_QueryInterface
(
nsIFactory
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
*
result
=
NULL
;
...
...
dlls/mshtml/nsservice.c
View file @
9ca80347
...
...
@@ -47,7 +47,7 @@ static const nsIID NS_TOOLTIPTEXTPROVIDER_CID =
{
0x0b666e3e
,
0x569a
,
0x462c
,{
0xa7
,
0xf0
,
0xb1
,
0x6b
,
0xb1
,
0x5d
,
0x42
,
0xff
}};
static
nsresult
NSAPI
nsWindowCreator_QueryInterface
(
nsIWindowCreator2
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
*
result
=
NULL
;
...
...
@@ -114,7 +114,7 @@ static const nsIWindowCreator2Vtbl nsWindowCreatorVtbl = {
static
nsIWindowCreator2
nsWindowCreator
=
{
&
nsWindowCreatorVtbl
};
static
nsresult
NSAPI
nsPromptService_QueryInterface
(
nsIPromptService
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
*
result
=
NULL
;
...
...
@@ -280,7 +280,7 @@ static const nsIPromptServiceVtbl PromptServiceVtbl = {
static
nsIPromptService
nsPromptService
=
{
&
PromptServiceVtbl
};
static
nsresult
NSAPI
nsTooltipTextProvider_QueryInterface
(
nsITooltipTextProvider
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
nsIIDRef
riid
,
void
**
result
)
{
*
result
=
NULL
;
...
...
@@ -387,7 +387,7 @@ typedef struct {
#define NSFACTORY_THIS(iface) DEFINE_THIS(nsServiceFactory, Factory, iface)
static
nsresult
NSAPI
nsServiceFactory_QueryInterface
(
nsIFactory
*
iface
,
nsIIDRef
riid
,
nsQIResult
result
)
void
**
result
)
{
nsServiceFactory
*
This
=
NSFACTORY_THIS
(
iface
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment