commit | 699e7c457a5d49fb4f021ebd4b0a28d6278e4eb5 | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Sun Jun 29 20:19:59 2014 +1000 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Sun Jun 29 20:20:06 2014 +1000 |
tree | 6b3b5c8ac50b835a2a625ccaaaf00139f1a5ec6a | |
parent | a8567d4b4eebb758fd3630636061a625763f0d1d [diff] |
include/share/endswap.h : Add endswapping of 16 bit values. Also add macros H2LE_16 and H2LE_32, which do host to little-endian swapping of 16 and 32 bit values respectively.