Moved some around, more renames

This commit is contained in:
KimLS committed 2014-08-21 22:43:33 -07:00
1 parent 504a8b19ce
commit cd0824ee71
63 files changed
+8 -10

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#include "global.hpp"
#define swapl
#define swaps
uint16 GetUint16(uchar **buf) {
uint16 ret = swaps(*((uint16 *) *buf));
*buf += 2;
return ret;
}
uint32 GetUint32(uchar **buf) {
uint32 ret = swapl(*((uint32 *) *buf));
*buf += 4;
return ret;
}