ref: renamed types.h to Types.h for match naming convention; also added Align.h and Bytes.h with helpers
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include <Types.h>
|
||||
|
||||
static inline UInt32 BytesSwap32(UInt32 value) {
|
||||
return __builtin_bswap32(value);
|
||||
}
|
||||
|
||||
static inline UInt64 BytesSwap64(UInt64 value) {
|
||||
return __builtin_bswap64(value);
|
||||
}
|
||||
Reference in New Issue
Block a user