Enlightenment CVS committal Author : vapier Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib Modified Files: rgba.c Log Message: add a new helper macro by Tres Melton: IS_ALIGNED_128 =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/rgba.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- rgba.c 29 Sep 2005 07:47:29 -0000 1.2 +++ rgba.c 29 Sep 2005 07:50:29 -0000 1.3 @@ -7,12 +7,13 @@ #ifdef BUILD_X11 -#define IS_ALIGNED_64(val) (!((val) & 0x7)) -#define IS_ALIGNED_32(val) (!((val) & 0x3)) -#define IS_ALIGNED_16(val) (!((val) & 0x1)) +#define IS_ALIGNED_128(val) (!((val) & 0x15)) +#define IS_ALIGNED_64(val) (!((val) & 0x7)) +#define IS_ALIGNED_32(val) (!((val) & 0x3)) +#define IS_ALIGNED_16(val) (!((val) & 0x1)) -#define IS_MULTIPLE_2(val) (!((val) & 0x1)) -#define IS_MULTIPLE_4(val) (!((val) & 0x3)) +#define IS_MULTIPLE_2(val) (!((val) & 0x1)) +#define IS_MULTIPLE_4(val) (!((val) & 0x3)) /* for PPC / Motorola / SPARC, not x86, ALPHA */ /* dont uncomment this - i have this here for my own testing */ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs