* eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 14:30:56 +0000 (14:30 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 14:30:56 +0000 (14:30 +0000)
        statement.

        Patch from Raphael Kubo.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@41763 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

AUTHORS
src/lib/Eet.h

diff --git a/AUTHORS b/AUTHORS
index f4d10c4..0edc806 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -6,3 +6,4 @@ Luis Felipe Strano Moraes <luis.strano@gmail.com>
 Chidambar Zinnoury <illogict@online.fr>
 Vincent Torri <vtorri@univ-evry.fr>
 Gustavo Sverzut Barbieri <barbieri@gmail.com>
+Raphael Kubo <kubo@profusion.mobi>
index 732af59..503ce6f 100644 (file)
@@ -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.