devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3c4e0545a1181c26773735da1dbcca3c3aebe01f
commit 3c4e0545a1181c26773735da1dbcca3c3aebe01f Author: Chris Michael <[email protected]> Date: Thu Dec 4 08:56:43 2014 -0500 ecore: Add code for new API function 'ecore_main_loop_nested_get' Summary: This commit adds the actual code to the function, which returns the 'in_main_loop' variable so that we can detect if the ecore_main_loop is actually running. NB: Will be needed for new eldbus API function (yet to add). @feature Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore/ecore_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 6fd5bac..c86f237 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -1006,6 +1006,12 @@ ecore_main_loop_quit(void) #endif } +EAPI int +ecore_main_loop_nested_get(void) +{ + return in_main_loop; +} + EAPI Eina_Bool ecore_main_loop_animator_ticked_get(void) { --
