… | |
… | |
145 | #define EV_PREPARE 0x00004000 /* event loop about to poll */ |
145 | #define EV_PREPARE 0x00004000 /* event loop about to poll */ |
146 | #define EV_CHECK 0x00008000 /* event loop finished poll */ |
146 | #define EV_CHECK 0x00008000 /* event loop finished poll */ |
147 | #define EV_EMBED 0x00010000 /* embedded event loop needs sweep */ |
147 | #define EV_EMBED 0x00010000 /* embedded event loop needs sweep */ |
148 | #define EV_FORK 0x00020000 /* event loop resumed in child */ |
148 | #define EV_FORK 0x00020000 /* event loop resumed in child */ |
149 | #define EV_ASYNC 0x00040000 /* async intra-loop signal */ |
149 | #define EV_ASYNC 0x00040000 /* async intra-loop signal */ |
|
|
150 | #define EV_CUSTOM 0x01000000 /* for use by user code */ |
150 | #define EV_ERROR 0x80000000 /* sent when an error occurs */ |
151 | #define EV_ERROR 0x80000000 /* sent when an error occurs */ |
151 | |
152 | |
152 | /* can be used to add custom fields to all watchers, while losing binary compatibility */ |
153 | /* can be used to add custom fields to all watchers, while losing binary compatibility */ |
153 | #ifndef EV_COMMON |
154 | #ifndef EV_COMMON |
154 | # define EV_COMMON void *data; |
155 | # define EV_COMMON void *data; |