eo: avoid redefinition of type Efl_Promise

clang complained about type redefinition being a C11 feature, throwing a
warning for each compiling unit including Eo.h.
This commit is contained in:
Jean Guyomarc'h 2016-09-09 08:39:02 +02:00
parent bd362b13d6
commit a336e761d2
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* The type of Efl Promise used in asynchronous operation, the write side of a promise.
*/
typedef Eo Efl_Promise;
#define _EFL_PROMISE_EO_CLASS_TYPE
#define EFL_FUTURE_CLASS efl_future_class_get()
EWAPI const Efl_Class *efl_future_class_get(void);