X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=common.h;h=ec7913ea4b13853d1880611bf02e877348f476d8;hp=33961a196ec680ea61d3176573f2510e7c52c159;hb=bc662e293c854e1bdc9d46e9a410fe220247e6d4;hpb=07083c8dfbbd4fe48e84d86ce8d7e44e0719b84a diff --git a/common.h b/common.h index 33961a1..ec7913e 100644 --- a/common.h +++ b/common.h @@ -131,13 +131,6 @@ int imax(int a, int b) #endif -/* - * Define some macros for packing and unpacking bytes to and from larger ints. - */ -#define PACK(W,N,B) (((B) << (8 * (N))) | ((W) & ~(0xff << (8 * (N))))) -#define UNPACK(W,N) ((uint8_t)((W) >> (8 * (N))) & 0xff) - - /* * Try to execute a statement and print a status message. If the statement * resolves to 0, it is considered to have succeeded; any other evaluation is