Eo do: simplify eo_do macro.
authorTom Hacohen <tom@stosb.com>
Tue, 23 Sep 2014 13:36:18 +0000 (14:36 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 23 Sep 2014 13:36:20 +0000 (14:36 +0100)
commitb33372b1f6191c4d671cff0e0a96cda5dd000f50
treeea5424967bc38af68dea89d603b244d536523a24
parent0f24804c1acbfa9e1b55e667d6b501b1831da17d
Eo do: simplify eo_do macro.

This moves the mainloop check inside the function. There was never need
for it to be in client code (i.e a header/macro).
This is better suited inside eo_do_start because this is a macro some
bindings have to re-implement, and we definitely don't want it to be any
more complicated than it has to be.

This breaks ABI and makes elm 1.12 depend on efl 1.11. This is not an issue
as because of eolian and interfaces it's already the case.
src/lib/eo/Eo.h
src/lib/eo/eo.c