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:
Mike Hommey 2013-08-10 15:53:22 +09:00
parent 4c163e91d9
commit 90c2499e13
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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() \

View File

@ -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() \

View File

@ -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() \

View File

@ -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() \

View File

@ -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() \