projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd362b1
)
eo: avoid redefinition of type Efl_Promise
author
Jean Guyomarc'h
<jean@guyomarch.bzh>
Fri, 9 Sep 2016 06:39:02 +0000
(08:39 +0200)
committer
Jean Guyomarc'h
<jean@guyomarch.bzh>
Fri, 9 Sep 2016 06:44:46 +0000
(08:44 +0200)
clang complained about type redefinition being a C11 feature, throwing a
warning for each compiling unit including Eo.h.
src/lib/eo/efl_future.h
patch
|
blob
|
history
diff --git
a/src/lib/eo/efl_future.h
b/src/lib/eo/efl_future.h
index
78dc273
..
61ce03d
100644
(file)
--- a/
src/lib/eo/efl_future.h
+++ b/
src/lib/eo/efl_future.h
@@
-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);