forked from enlightenment/efl
ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
This commit is contained in:
parent
7055227957
commit
de5074849f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue