mirror of
https://github.com/reactos/reactos.git
synced 2024-09-23 02:56:00 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
11 lines
404 B
C
11 lines
404 B
C
#ifndef __CROSSNT_MISC__H__
|
|
#define __CROSSNT_MISC__H__
|
|
|
|
/* The definitions look so crappy, because the code doesn't care
|
|
whether the source is an array or an integer */
|
|
#define MOV_DD_SWP(a,b) ((a) = RtlUlongByteSwap(*(PULONG)&(b)))
|
|
#define MOV_DW_SWP(a,b) ((a) = RtlUshortByteSwap(*(PUSHORT)&(b)))
|
|
#define MOV_SWP_DW2DD(a,b) ((a) = RtlUshortByteSwap(*(PUSHORT)&(b)))
|
|
|
|
#endif // __CROSSNT_MISC__H__
|