mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901200 - Change SharedStub definition in tier-3 xptcstubs to better fit reality and make the compiler happy now that nsresult is an enum. r=bsmedberg
This commit is contained in:
parent
4c163e91d9
commit
90c2499e13
@ -126,7 +126,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex,
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(uint64_t,uint64_t,uint64_t,uint64_t,
|
||||
extern "C" nsresult SharedStub(uint64_t,uint64_t,uint64_t,uint64_t,
|
||||
uint64_t,uint64_t,uint64_t,uint64_t,uint64_t,uint64_t *);
|
||||
|
||||
/* Variable a0-a7 were put there so we can have access to the 8 input
|
||||
|
@ -129,7 +129,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex,
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(uint64_t,uint64_t,uint64_t,uint64_t,
|
||||
extern "C" nsresult SharedStub(uint64_t,uint64_t,uint64_t,uint64_t,
|
||||
uint64_t,uint64_t,uint64_t,uint64_t,uint64_t,uint64_t *);
|
||||
|
||||
/* Variable a0-a7 were put there so we can have access to the 8 input
|
||||
|
@ -124,7 +124,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex,
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int);
|
||||
extern "C" nsresult SharedStub(int);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
|
@ -93,7 +93,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex, uint32_t* args)
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int, int*);
|
||||
extern "C" nsresult SharedStub(int, int*);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
|
@ -96,7 +96,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex, uint32_t* args)
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int, int*);
|
||||
extern "C" nsresult SharedStub(int, int*);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
|
@ -88,7 +88,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex, uint32_t* args)
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int, int*);
|
||||
extern "C" nsresult SharedStub(int, int*);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
|
@ -80,7 +80,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint64_t methodIndex, uint64_t* args)
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int, int*);
|
||||
extern "C" nsresult SharedStub(int, int*);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
|
Loading…
Reference in New Issue
Block a user