No real changes, just rename double variables to "d".
Don't use "i" or "f" for double variable names, this is confusing, especially when we do it inconsistently. See #10625. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
61eb6bb673
commit
337bbb7a06
3 changed files with 8 additions and 8 deletions
|
|
@ -97,7 +97,7 @@ public:
|
|||
wxDataInputStream& operator>>(wxULongLong& i);
|
||||
wxDataInputStream& operator>>(wxLongLong& i);
|
||||
#endif
|
||||
wxDataInputStream& operator>>(double& i);
|
||||
wxDataInputStream& operator>>(double& d);
|
||||
wxDataInputStream& operator>>(float& f);
|
||||
|
||||
protected:
|
||||
|
|
@ -159,7 +159,7 @@ public:
|
|||
wxDataOutputStream& operator<<(const wxULongLong &i);
|
||||
wxDataOutputStream& operator<<(const wxLongLong &i);
|
||||
#endif
|
||||
wxDataOutputStream& operator<<(double f);
|
||||
wxDataOutputStream& operator<<(double d);
|
||||
wxDataOutputStream& operator<<(float f);
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -110,9 +110,9 @@ public:
|
|||
void Write64(const wxUint64* buffer, size_t size);
|
||||
|
||||
/**
|
||||
Writes the double @a f to the stream using the IEEE format.
|
||||
Writes the double @a d to the stream using the IEEE format.
|
||||
*/
|
||||
void WriteDouble(double f);
|
||||
void WriteDouble(double d);
|
||||
/**
|
||||
Writes an array of double to the stream. The amount of double to write is
|
||||
specified with the @a size variable.
|
||||
|
|
|
|||
|
|
@ -458,9 +458,9 @@ wxDataInputStream& wxDataInputStream::operator>>(wxLongLong& i)
|
|||
}
|
||||
#endif // wxLongLong_t
|
||||
|
||||
wxDataInputStream& wxDataInputStream::operator>>(double& i)
|
||||
wxDataInputStream& wxDataInputStream::operator>>(double& d)
|
||||
{
|
||||
i = ReadDouble();
|
||||
d = ReadDouble();
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
@ -734,9 +734,9 @@ wxDataOutputStream& wxDataOutputStream::operator<<(const wxLongLong &i)
|
|||
}
|
||||
#endif // wxLongLong_t
|
||||
|
||||
wxDataOutputStream& wxDataOutputStream::operator<<(double f)
|
||||
wxDataOutputStream& wxDataOutputStream::operator<<(double d)
|
||||
{
|
||||
WriteDouble(f);
|
||||
WriteDouble(d);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue