mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
update event_base_loop documentation; from Tani Hosokawa
svn:r652
This commit is contained in:
parent
0d26f1605f
commit
87bef9e974
@ -44,6 +44,7 @@ Changes in current version:
|
||||
o Allow regression code to build even without Python installed
|
||||
o remove NDEBUG ifdefs from evdns.c
|
||||
o detect integer types properly on platforms without stdint.h
|
||||
o udpate documentation of event_loop and event_base_loop; from Tani Hosokawa.
|
||||
|
||||
|
||||
Changes in 1.4.0:
|
||||
|
6
event.h
6
event.h
@ -368,7 +368,8 @@ int event_base_set(struct event_base *, struct event *);
|
||||
This is a more flexible version of event_dispatch().
|
||||
|
||||
@param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK
|
||||
@return 0 if successful, or -1 if an error occurred
|
||||
@return 0 if successful, -1 if an error occurred, or 1 if no events were
|
||||
registered.
|
||||
@see event_loopexit(), event_base_loop()
|
||||
*/
|
||||
int event_loop(int);
|
||||
@ -380,7 +381,8 @@ int event_loop(int);
|
||||
|
||||
@param eb the event_base structure returned by event_init()
|
||||
@param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK
|
||||
@return 0 if successful, or -1 if an error occurred
|
||||
@return 0 if successful, -1 if an error occurred, or 1 if no events were
|
||||
registered.
|
||||
@see event_loopexit(), event_base_loop()
|
||||
*/
|
||||
int event_base_loop(struct event_base *, int);
|
||||
|
Loading…
x
Reference in New Issue
Block a user