diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-11-15 23:29:56 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-11-22 13:49:24 +0000 |
commit | 7ab5fc1f3b373fadc644448442b985c12597f8f0 (patch) | |
tree | 3894863e4649d1471eadd16ba040572677a0d1f7 /tests | |
parent | 49c06680e762cdf751ae592449985e2c65687248 (diff) |
add contrib/struct_endianess.py
In libosmocore (and likely elsewhere) we have scores of packed structs with
sub-byte integer members that lack the necessary member reversal shims to be
able to work on big endian architectures.
Instead of manually editing each one of them and probably introduce errors in
the process, this script handles the change automatically, and in the future
allows us to verify correctness in gerrit verifications.
Change-Id: I8e75b17d8071c7b3a2a171ba776fb76854b28a53
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions