mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-11 17:08:46 +00:00
Events: create and enqueue in one macro
This commit is contained in:
parent
5a916ed53f
commit
48abd6a963
@ -71,5 +71,8 @@ ev_new_init(pool *p, void (*hook)(void *), void *data)
|
||||
return e;
|
||||
}
|
||||
|
||||
#define ev_new_send(loop, pool, hook, data) \
|
||||
ev_send_loop((loop), ev_new_init((pool), (hook), (data)))
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user