mshtml: gcc 2.95 does not allow an array of undefined dimension in a struct. So fix dispex_static_data_t accordingly.
This commit is contained in:
parent
a425379175
commit
53f2cb83dc
|
@ -175,14 +175,15 @@ static const NodeImplVtbl HTMLCommentElementImplVtbl = {
|
|||
HTMLCommentElement_destructor
|
||||
};
|
||||
|
||||
static const tid_t HTMLCommentElement_iface_tids[] = {
|
||||
IHTMLCommentElement_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLCommentElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLCommentElement_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLCommentElement_tid,
|
||||
0
|
||||
}
|
||||
HTMLCommentElement_iface_tids
|
||||
};
|
||||
|
||||
HTMLElement *HTMLCommentElement_Create(nsIDOMNode *nsnode)
|
||||
|
|
|
@ -1490,17 +1490,18 @@ static const IDispatchExVtbl DocDispatchExVtbl = {
|
|||
DocDispatchEx_GetNameSpaceParent
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLDocument_dispex = {
|
||||
NULL,
|
||||
DispHTMLDocument_tid,
|
||||
NULL,
|
||||
{
|
||||
static const tid_t HTMLDocument_iface_tids[] = {
|
||||
IHTMLDocument2_tid,
|
||||
IHTMLDocument3_tid,
|
||||
IHTMLDocument4_tid,
|
||||
IHTMLDocument5_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLDocument_dispex = {
|
||||
NULL,
|
||||
DispHTMLDocument_tid,
|
||||
NULL,
|
||||
HTMLDocument_iface_tids
|
||||
};
|
||||
|
||||
HRESULT HTMLDocument_Create(IUnknown *pUnkOuter, REFIID riid, void** ppvObject)
|
||||
|
|
|
@ -1326,17 +1326,18 @@ static const NodeImplVtbl HTMLElementImplVtbl = {
|
|||
HTMLElement_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLUnknownElement_tid,
|
||||
NULL,
|
||||
{
|
||||
static const tid_t HTMLElement_iface_tids[] = {
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLUnknownElement_tid,
|
||||
NULL,
|
||||
HTMLElement_iface_tids
|
||||
};
|
||||
|
||||
void HTMLElement_Init(HTMLElement *This)
|
||||
|
@ -1769,14 +1770,15 @@ static const dispex_static_data_vtbl_t HTMLElementColection_dispex_vtbl = {
|
|||
HTMLElementCollection_invoke
|
||||
};
|
||||
|
||||
static const tid_t HTMLElementCollection_iface_tids[] = {
|
||||
IHTMLElementCollection_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLElementCollection_dispex = {
|
||||
&HTMLElementColection_dispex_vtbl,
|
||||
DispHTMLElementCollection_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLElementCollection_tid,
|
||||
0
|
||||
}
|
||||
HTMLElementCollection_iface_tids
|
||||
};
|
||||
|
||||
IHTMLElementCollection *create_all_collection(HTMLDOMNode *node)
|
||||
|
|
|
@ -526,18 +526,19 @@ static const NodeImplVtbl HTMLImgElementImplVtbl = {
|
|||
HTMLImgElement_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLImgElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLImg_tid,
|
||||
NULL,
|
||||
{
|
||||
static const tid_t HTMLImgElement_iface_tids[] = {
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
IHTMLImgElement_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLImgElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLImg_tid,
|
||||
NULL,
|
||||
HTMLImgElement_iface_tids
|
||||
};
|
||||
|
||||
HTMLElement *HTMLImgElement_Create(nsIDOMHTMLElement *nselem)
|
||||
|
|
|
@ -1059,18 +1059,19 @@ static const NodeImplVtbl HTMLInputElementImplVtbl = {
|
|||
HTMLInputElement_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLInputElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLInputElement_tid,
|
||||
NULL,
|
||||
{
|
||||
static const tid_t HTMLInputElement_iface_tids[] = {
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
IHTMLInputElement_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLInputElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLInputElement_tid,
|
||||
NULL,
|
||||
HTMLInputElement_iface_tids
|
||||
};
|
||||
|
||||
HTMLElement *HTMLInputElement_Create(nsIDOMHTMLElement *nselem)
|
||||
|
|
|
@ -193,14 +193,15 @@ static const IHTMLDOMChildrenCollectionVtbl HTMLDOMChildrenCollectionVtbl = {
|
|||
HTMLDOMChildrenCollection_item
|
||||
};
|
||||
|
||||
static const tid_t HTMLDOMChildrenCollection_iface_tids[] = {
|
||||
IHTMLDOMChildrenCollection_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMChildrenCollection_dispex = {
|
||||
NULL,
|
||||
DispDOMChildrenCollection_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLDOMChildrenCollection_tid,
|
||||
0
|
||||
}
|
||||
HTMLDOMChildrenCollection_iface_tids
|
||||
};
|
||||
|
||||
static IHTMLDOMChildrenCollection *create_child_collection(HTMLDocument *doc, nsIDOMNodeList *nslist)
|
||||
|
|
|
@ -331,18 +331,19 @@ static const NodeImplVtbl HTMLOptionElementImplVtbl = {
|
|||
HTMLOptionElement_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLOptionElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLOptionElement_tid,
|
||||
NULL,
|
||||
{
|
||||
static const tid_t HTMLOptionElement_iface_tids[] = {
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
IHTMLOptionElement_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLOptionElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLOptionElement_tid,
|
||||
NULL,
|
||||
HTMLOptionElement_iface_tids
|
||||
};
|
||||
|
||||
HTMLElement *HTMLOptionElement_Create(nsIDOMHTMLElement *nselem)
|
||||
|
|
|
@ -1845,14 +1845,15 @@ static const IHTMLStyleVtbl HTMLStyleVtbl = {
|
|||
HTMLStyle_toString
|
||||
};
|
||||
|
||||
static const tid_t HTMLStyle_iface_tids[] = {
|
||||
IHTMLStyle_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyle_dispex = {
|
||||
NULL,
|
||||
DispHTMLStyle_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLStyle_tid,
|
||||
0
|
||||
}
|
||||
HTMLStyle_iface_tids
|
||||
};
|
||||
|
||||
IHTMLStyle *HTMLStyle_Create(nsIDOMCSSStyleDeclaration *nsstyle)
|
||||
|
|
|
@ -185,16 +185,17 @@ static const NodeImplVtbl HTMLDOMTextNodeImplVtbl = {
|
|||
HTMLDOMTextNode_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLDOMTextNode_dispex = {
|
||||
NULL,
|
||||
DispHTMLDOMTextNode_tid,
|
||||
0,
|
||||
{
|
||||
static const tid_t HTMLDOMTextNode_iface_tids[] = {
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLDOMTextNode_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMTextNode_dispex = {
|
||||
NULL,
|
||||
DispHTMLDOMTextNode_tid,
|
||||
0,
|
||||
HTMLDOMTextNode_iface_tids
|
||||
};
|
||||
|
||||
HTMLDOMNode *HTMLDOMTextNode_Create(nsIDOMNode *nsnode)
|
||||
|
|
|
@ -1107,15 +1107,16 @@ static const IDispatchExVtbl WindowDispExVtbl = {
|
|||
WindowDispEx_GetNameSpaceParent
|
||||
};
|
||||
|
||||
static const tid_t HTMLWindow_iface_tids[] = {
|
||||
IHTMLWindow2_tid,
|
||||
IHTMLWindow3_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLWindow_dispex = {
|
||||
NULL,
|
||||
DispHTMLWindow2_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLWindow2_tid,
|
||||
IHTMLWindow3_tid,
|
||||
0
|
||||
}
|
||||
HTMLWindow_iface_tids
|
||||
};
|
||||
|
||||
static const char wineConfig_func[] =
|
||||
|
|
|
@ -108,7 +108,7 @@ typedef struct {
|
|||
const dispex_static_data_vtbl_t *vtbl;
|
||||
const tid_t disp_tid;
|
||||
dispex_data_t *data;
|
||||
const tid_t iface_tids[];
|
||||
const tid_t* const iface_tids;
|
||||
} dispex_static_data_t;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
@ -300,14 +300,15 @@ static const IOmNavigatorVtbl OmNavigatorVtbl = {
|
|||
OmNavigator_get_userProfile
|
||||
};
|
||||
|
||||
static const tid_t OmNavigator_iface_tids[] = {
|
||||
IOmNavigator_tid,
|
||||
0
|
||||
};
|
||||
static dispex_static_data_t OmNavigator_dispex = {
|
||||
NULL,
|
||||
IOmNavigator_tid,
|
||||
NULL,
|
||||
{
|
||||
IOmNavigator_tid,
|
||||
0
|
||||
}
|
||||
OmNavigator_iface_tids
|
||||
};
|
||||
|
||||
IOmNavigator *OmNavigator_Create(void)
|
||||
|
|
Loading…
Reference in New Issue