forked from enlightenment/efl
* eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if
statement. Patch from Raphael Kubo. SVN revision: 41763
This commit is contained in:
parent
c634e07770
commit
67418404d0
|
@ -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>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue