| Q D E V _ H L P _ S W A P L O N G ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_SWAPLONG() - Allows to swap contents of LONG.
SYNOPSIS
res = QDEV_HLP_SWAPLONG(val);
[LONG] QDEV_HLP_SWAPLONG([LONG]);
FUNCTION
This macro is quite useful when there is a need to in-
place swap contents of LONG/ULONG datatype. Lil <> big
endian conversion.
INPUTS
val - Direct variable or value.
RETURNS
Additionally returns what was swapped.
BASES
None.
NOTES
Remember though that the contents of the datatype will
be rotated in place!
SEE ALSO
QDEV_HLP_SWAPWORD(), QDEV_HLP_SWAPQUAD()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |