mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ae6ea3113d
We have a number of functions in mozilla/Endian.h for doing endianness conversions, and these functions should be used instead of hand-rolled functions. Using those functions in the bluetooth code makes the code clearer and more portable (ReadLittleEndianUint16 won't do the right thing if we're running on a big-endian processor, for instance). Endian.h is also careful to avoid assumptions about memory alignment, which utility functions like ReadLittleEndianUint16 don't do. |
||
---|---|---|
.. | ||
bluedroid | ||
bluez | ||
common | ||
ipc | ||
tests/marionette | ||
moz.build |