This commit is contained in:
1 parent
d5578f009a
commit
55ff77c4ea
15 files changed
+980
No files matched your search
@@ -50,6 +50,10 @@ BEGIN_C_LINKAGE
|
||||
#define wpMiscUtilsIsPowerOfTwo(NUM) ((NUM & (NUM - 1)) == 0)
|
||||
#define wpMiscUtilsOffsetPointer(PTR, OFFSET) ((void *)((uptr)(PTR) + (OFFSET)))
|
||||
|
||||
wp_intern inline u64 wpMiscUtilsRotl64(u64 x, i8 rotation) {
|
||||
return (x << rotation) | (x >> (64 - rotation));
|
||||
}
|
||||
|
||||
#ifdef WP_PLATFORM_CPP
|
||||
END_C_LINKAGE
|
||||
|
||||
|
||||
Reference in new issue
Block a user