From 67418404d09cc0a3a1a93df2cb25d90e5b866626 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 14 Aug 2009 14:30:56 +0000 Subject: [PATCH] * eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if statement. Patch from Raphael Kubo. SVN revision: 41763 --- legacy/eet/AUTHORS | 1 + legacy/eet/src/lib/Eet.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/legacy/eet/AUTHORS b/legacy/eet/AUTHORS index f4d10c45c1..0edc80627b 100644 --- a/legacy/eet/AUTHORS +++ b/legacy/eet/AUTHORS @@ -6,3 +6,4 @@ Luis Felipe Strano Moraes Chidambar Zinnoury Vincent Torri Gustavo Sverzut Barbieri +Raphael Kubo diff --git a/legacy/eet/src/lib/Eet.h b/legacy/eet/src/lib/Eet.h index 732af593ff..503ce6fcd7 100644 --- a/legacy/eet/src/lib/Eet.h +++ b/legacy/eet/src/lib/Eet.h @@ -1061,7 +1061,7 @@ extern "C" { * * @since 1.3.0 */ -#define EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(Clas, Type) eet_eina_stream_data_descriptor_class_set(Clas, #Type , sizeof (Type)); +#define EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(Clas, Type) (eet_eina_stream_data_descriptor_class_set(Clas, #Type , sizeof (Type))) /** * This function is an helper that set all the parameter of an Eet_Data_Descriptor_Class @@ -1086,7 +1086,7 @@ extern "C" { * * @since 1.3.0 */ -#define EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(Clas, Type) eet_eina_file_data_descriptor_class_set(Clas, #Type , sizeof (Type)); +#define EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(Clas, Type) (eet_eina_file_data_descriptor_class_set(Clas, #Type , sizeof (Type))) /** * This function frees a data descriptor when it is not needed anymore.