… | |
… | |
542 | |
542 | |
543 | /* the default loop is the only one that handles signals and child watchers */ |
543 | /* the default loop is the only one that handles signals and child watchers */ |
544 | /* you can call this as often as you like */ |
544 | /* you can call this as often as you like */ |
545 | EV_API_DECL struct ev_loop *ev_default_loop (unsigned int flags EV_CPP (= 0)); |
545 | EV_API_DECL struct ev_loop *ev_default_loop (unsigned int flags EV_CPP (= 0)); |
546 | |
546 | |
|
|
547 | #ifdef EV_API_STATIC |
547 | EV_API_DECL struct ev_loop *ev_default_loop_ptr; |
548 | EV_API_DECL struct ev_loop *ev_default_loop_ptr; |
|
|
549 | #endif |
548 | |
550 | |
549 | EV_INLINE struct ev_loop * |
551 | EV_INLINE struct ev_loop * |
550 | ev_default_loop_uc_ (void) |
552 | ev_default_loop_uc_ (void) |
551 | { |
553 | { |
552 | extern struct ev_loop *ev_default_loop_ptr; |
554 | extern struct ev_loop *ev_default_loop_ptr; |