On Mon, 9 Jun 2003, Michael Nordstrom wrote: > Anyway, please don't include code you haven't written yourself without > telling me.
I just wrote this code from scratch: #define READANDSWAP32(x) ( ( ( unsigned char* )(x)[3] << 24 ) \ | ( unsigned char* )(x)[2] << 16 ) \ | ( unsigned char* )(x)[1] << 8 ) \ | ( unsigned char* )(x)[0] ) #define SWAP16(x) ( ( (unsigned short)(x) << 8 ) | ( (unsigned short)(x) >> 8 ) ) Should we just include that? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057 || U.S.A. || ----------------------------------------------------------------------------- "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur." - Paul of Worczyn (1424) _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev