Mercurial > mm7
diff MM7.h @ 823:c1da83d8223f
More spell renames
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 20:05:57 +0200 |
parents | da80bd2922df |
children | 0f56abdcce94 |
line wrap: on
line diff
--- a/MM7.h Tue Mar 26 17:56:24 2013 +0200 +++ b/MM7.h Tue Mar 26 20:05:57 2013 +0200 @@ -21,6 +21,8 @@ #define BYTE2(a) (*((unsigned char *)&a + 2)) #define BYTE3(a) (*((unsigned char *)&a + 3)) +#define PID(type, id) (unsigned int)((((8 * (id))) | (type)) & 0xFFFF) // packed id + typedef unsigned __int16 _WORD; typedef unsigned __int64 _QWORD;