From e3c9d3f62a6b960cb415176021eb4f8f7b132d36 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Fri, 26 Feb 2010 00:59:11 +0000 Subject: [PATCH] TRUE/FALSE are gone, use EINA_TRUE/EINA_FALSE instead. SVN revision: 46500 --- legacy/eina/src/include/eina_types.h | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/legacy/eina/src/include/eina_types.h b/legacy/eina/src/include/eina_types.h index 1c924eeae7..16d820890f 100644 --- a/legacy/eina/src/include/eina_types.h +++ b/legacy/eina/src/include/eina_types.h @@ -214,25 +214,13 @@ #endif /* ! __GNUC__ && ! _WIN32 && ! __SUNPRO_C */ -/* remove this TRUE/FALSE redifinitions */ - -/** - * @deprecated Use #EINA_TRUE instead. - */ -#ifndef TRUE -# define TRUE 1 -#endif - -/** - * @deprecated Use #EINA_FALSE instead. - */ -#ifndef FALSE -# define FALSE 0 -#endif - /** * @typedef Eina_Bool * Type to mimic a boolean. + * + * @note it differs from stdbool.h as this is defined as an unsigned + * char to make it usable by bitfields (Eina_Bool name:1) and + * also take as few bytes as possible. */ typedef unsigned char Eina_Bool;