From bd2645e81b46d81fdee070c6088618b26c9b56f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 21 May 2012 18:01:47 +0200 Subject: eiotas_private.h: fix CHECK_PARENT and BUILD_INSTANCE macros --- src/lib/eiotas_private.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/eiotas_private.h b/src/lib/eiotas_private.h index 272b16c..67ed4f3 100644 --- a/src/lib/eiotas_private.h +++ b/src/lib/eiotas_private.h @@ -30,17 +30,17 @@ #define MAX_PATH_LENGTH 256 #define PATH_SEP '/' -#define CHECK_PARENT() \ - if(parent==NULL) { \ - EINA_LOG_ERR("NULL parent not allowed"); \ - return NULL; \ +#define CHECK_PARENT() \ + if(parent==NULL) { \ + ERR("NULL parent not allowed"); \ + return NULL; \ } -#define BUILD_INSTANCE(_type,_x) \ - _type *_x = (_type*)malloc(sizeof(_type)); \ - if(_x==NULL) { \ - EINA_LOG_ERR("malloc error"); \ - return NULL; \ +#define BUILD_INSTANCE(_type,_x) \ + _type *_x = (_type*)malloc(sizeof(_type)); \ + if(_x==NULL) { \ + ERR("malloc error"); \ + return NULL; \ } #ifdef CRITICAL -- cgit v1.1-2-g2b99