On Wed, 2006-03-22 at 09:45 -0800, Michael Leibowitz wrote:
> Is there a nice, portable way to do byteswapping already present in the
> code?  I am looking for something that provides the same sort of
> functionality of byteswap.h on glibc.  Surely, there is a this sort of
> thing buried in some helper/library/abstraction.  ;-)

There's two of course,

osl/endian.h OSL_SWAPWORD and OSL_SWAPDWORD
and
tools/solar.h the SVBT16/SVBT32 and the SVBTfooTobaz and vice versa set
of functions

C.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to