mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder.
This commit is contained in:
parent
3ddbc82f9f
commit
18ffeba9da
64 changed files with 3721 additions and 3609 deletions
|
|
@ -276,7 +276,7 @@ static int getMACAddressViaGetAdaptersInfo (int64* addresses, int maxNum, const
|
|||
mac = (mac << 8) | adapter->Address[i];
|
||||
|
||||
if (littleEndian)
|
||||
mac = (int64) swapByteOrder ((uint64) mac);
|
||||
mac = (int64) ByteOrder::swap ((uint64) mac);
|
||||
|
||||
if (numFound < maxNum && mac != 0)
|
||||
addresses [numFound++] = mac;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue