ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O

SVN revision: 67685
This commit is contained in:
Daniel Juyung Seo 2012-02-02 05:21:24 +00:00
parent 7055227957
commit de5074849f
1 changed files with 52 additions and 37 deletions

View File

@ -848,6 +848,21 @@ _ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
* DO NOT use this function unless you are the person God comes to ask for
* advice when He has trouble managing the Universe.
*/
EAPI int
ecore_main_loop_iterate_may_block(int may_block)
{
#ifndef USE_G_MAIN_LOOP
_ecore_lock();
in_main_loop++;
_ecore_main_loop_iterate_internal(!may_block);
in_main_loop--;
_ecore_unlock();
return _ecore_event_exist();
#else
return g_main_context_iteration(NULL, may_block);
#endif
}
EAPI void
ecore_main_loop_iterate(void)
{