Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
91cbb62b51
2 changed files with 2 additions and 6 deletions
  1. +2
    -0
      Changes
  2. +0
    -6
      ev.c

+ 2
- 0
Changes View File

@ -1,5 +1,7 @@
Revision history for libev, a high-performance and full-featured event loop.
- removed redundant 0-ptr check in ev_once.
4.25 Fri Dec 21 07:49:20 CET 2018
- INCOMPATIBLE CHANGE: EV_THROW was renamed to EV_NOEXCEPT
(EV_THROW still provided) and now uses noexcept on C++11 or newer.


+ 0
- 6
ev.c View File

@ -5005,12 +5005,6 @@ ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, vo
{
struct ev_once *once = (struct ev_once *)ev_malloc (sizeof (struct ev_once));
if (expect_false (!once))
{
cb (EV_ERROR | EV_READ | EV_WRITE | EV_TIMER, arg);
return;
}
once->cb = cb;
once->arg = arg;


Loading…
Cancel
Save