зеркало из https://github.com/mozilla/gecko-dev.git
Followup to bug 542052: Windows doesn't like stdint types.
This commit is contained in:
Родитель
a766c6ed36
Коммит
fbd897de71
|
@ -62,7 +62,7 @@ Types = (
|
|||
|
||||
# NSPR types
|
||||
'PRBool',
|
||||
'PRPackedBool'
|
||||
'PRPackedBool',
|
||||
'PRInt8',
|
||||
'PRUint8',
|
||||
'PRInt16',
|
||||
|
|
|
@ -6,11 +6,11 @@ namespace _ipdltest {
|
|||
protocol PTestSanity {
|
||||
|
||||
child:
|
||||
Ping(int zero, float zeroPtFive, int8_t dummy);
|
||||
Ping(int zero, float zeroPtFive, PRInt8 dummy);
|
||||
__delete__();
|
||||
|
||||
parent:
|
||||
Pong(int one, float zeroPtTwoFive, uint8_t dummy);
|
||||
Pong(int one, float zeroPtTwoFive, PRUint8 dummy);
|
||||
|
||||
|
||||
state PING:
|
||||
|
|
|
@ -28,7 +28,7 @@ TestSanityParent::Main()
|
|||
|
||||
bool
|
||||
TestSanityParent::RecvPong(const int& one, const float& zeroPtTwoFive,
|
||||
const uint8_t&/*unused*/)
|
||||
const PRUint8&/*unused*/)
|
||||
{
|
||||
if (1 != one)
|
||||
fail("invalid argument `%d', should have been `1'", one);
|
||||
|
@ -57,7 +57,7 @@ TestSanityChild::~TestSanityChild()
|
|||
|
||||
bool
|
||||
TestSanityChild::RecvPing(const int& zero, const float& zeroPtFive,
|
||||
const int8_t&/*unused*/)
|
||||
const PRInt8&/*unused*/)
|
||||
{
|
||||
if (0 != zero)
|
||||
fail("invalid argument `%d', should have been `0'", zero);
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
protected:
|
||||
NS_OVERRIDE
|
||||
virtual bool RecvPong(const int& one, const float& zeroPtTwoFive,
|
||||
const uint8_t& dummy);
|
||||
const PRUint8& dummy);
|
||||
|
||||
NS_OVERRIDE
|
||||
virtual void ActorDestroy(ActorDestroyReason why)
|
||||
|
@ -45,7 +45,7 @@ public:
|
|||
protected:
|
||||
NS_OVERRIDE
|
||||
virtual bool RecvPing(const int& zero, const float& zeroPtFive,
|
||||
const int8_t& dummy);
|
||||
const PRInt8& dummy);
|
||||
|
||||
NS_OVERRIDE
|
||||
virtual void ActorDestroy(ActorDestroyReason why)
|
||||
|
|
Загрузка…
Ссылка в новой задаче