Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e.h Log Message: Better wrapping. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e.h,v retrieving revision 1.68 retrieving revision 1.69 diff -u -3 -r1.68 -r1.69 --- e.h 16 Jul 2007 14:33:25 -0000 1.68 +++ e.h 25 Jul 2007 18:14:45 -0000 1.69 @@ -119,7 +119,7 @@ #define E_REALLOC(p, s, n) p = (s *)realloc(p, sizeof(s) * n) #define E_NEW(s, n) (s *)calloc(n, sizeof(s)) #define E_NEW_BIG(s, n) (s *)malloc(n * sizeof(s)) -#define E_FREE(p) { if (p) {free(p); p = NULL;} } +#define E_FREE(p) do { if (p) {free(p); p = NULL;} } while (0) #define E_CLAMP(x, min, max) (x < min ? min : (x > max ? max : x)) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs