include clearing

This commit is contained in:
Nekotekina 2014-08-23 01:15:02 +04:00
parent 102f8cf993
commit 861ce9e733
35 changed files with 1803 additions and 1754 deletions

View file

@ -147,6 +147,14 @@ union u128
{
return From128(~hi, ~lo);
}
static __forceinline u128 byteswap(const u128 val)
{
u128 ret;
ret.lo = _byteswap_uint64(val.hi);
ret.hi = _byteswap_uint64(val.lo);
return ret;
}
};
union s128
@ -238,6 +246,8 @@ struct u128
};
*/
#define AlignAddr(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
#include "Utilities/StrFmt.h"
#include "Utilities/GNU.h"
#include "Utilities/BEType.h"