svn -> git Migration

This commit is contained in:
KimLS
2013-02-16 16:14:39 -08:00
parent 88c9715fb0
commit da7347f76f
1174 changed files with 445622 additions and 0 deletions
+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;
}