0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Merge pull request #3892 from gummif/gfa/poller-event

Problem: unnecessary event struct and UB
This commit is contained in:
Luca Boccassi 2020-05-01 23:42:32 +01:00 committed by GitHub
commit 103e39bd6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,13 +60,7 @@ class socket_poller_t
socket_poller_t ();
~socket_poller_t ();
typedef struct event_t
{
socket_base_t *socket;
fd_t fd;
void *user_data;
short events;
} event_t;
typedef zmq_poller_event_t event_t;
int add (socket_base_t *socket_, void *user_data_, short events_);
int modify (const socket_base_t *socket_, short events_);