mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-29 15:23:01 -04:00
Add LE(T) macro
I figured since I was messing with some parsing code might as well be prudent. In case somebody revives big-endian CPUs.
This commit is contained in:
@@ -285,6 +285,7 @@ inline void be_swap(Mtx& val) {
|
||||
}
|
||||
}
|
||||
|
||||
#define LE(T) T
|
||||
#define BE(T) BE<T>
|
||||
#define BE_HOST(T) (T.host())
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user