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