… | |
… | |
183 | # define EV_INLINE static inline |
183 | # define EV_INLINE static inline |
184 | #else |
184 | #else |
185 | # define EV_INLINE static |
185 | # define EV_INLINE static |
186 | #endif |
186 | #endif |
187 | |
187 | |
188 | /* EV_PROTOTYPES can be sued to switch of prototype declarations */ |
188 | /* EV_PROTOTYPES can be used to switch of prototype declarations */ |
189 | #ifndef EV_PROTOTYPES |
189 | #ifndef EV_PROTOTYPES |
190 | # define EV_PROTOTYPES 1 |
190 | # define EV_PROTOTYPES 1 |
191 | #endif |
191 | #endif |
192 | |
192 | |
193 | /*****************************************************************************/ |
193 | /*****************************************************************************/ |
194 | |
194 | |
195 | #define EV_VERSION_MAJOR 4 |
195 | #define EV_VERSION_MAJOR 4 |
196 | #define EV_VERSION_MINOR 3 |
196 | #define EV_VERSION_MINOR 4 |
197 | |
197 | |
198 | /* eventmask, revents, events... */ |
198 | /* eventmask, revents, events... */ |
199 | enum { |
199 | enum { |
200 | EV_UNDEF = 0xFFFFFFFF, /* guaranteed to be invalid */ |
200 | EV_UNDEF = 0xFFFFFFFF, /* guaranteed to be invalid */ |
201 | EV_NONE = 0x00, /* no events */ |
201 | EV_NONE = 0x00, /* no events */ |