summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-12-04 08:56:43 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-04 08:58:10 -0500
commit3c4e0545a1181c26773735da1dbcca3c3aebe01f (patch)
tree696f50b617740a43164857f047f48039f5e1cf98
parent607026d3c6db9aeb0173a8d348b8c4fec72523b5 (diff)
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 <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore/ecore_main.c6
1 files changed, 6 insertions, 0 deletions
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)
1006#endif 1006#endif
1007} 1007}
1008 1008
1009EAPI int
1010ecore_main_loop_nested_get(void)
1011{
1012 return in_main_loop;
1013}
1014
1009EAPI Eina_Bool 1015EAPI Eina_Bool
1010ecore_main_loop_animator_ticked_get(void) 1016ecore_main_loop_animator_ticked_get(void)
1011{ 1017{