1 | /* |
1 | /* |
2 | * libev native API header |
2 | * libev native API header |
3 | * |
3 | * |
4 | * Copyright (c) 2007-2019 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007-2020 Marc Alexander Lehmann <libev@schmorp.de> |
5 | * All rights reserved. |
5 | * All rights reserved. |
6 | * |
6 | * |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
8 | * tion, are permitted provided that the following conditions are met: |
8 | * tion, are permitted provided that the following conditions are met: |
9 | * |
9 | * |
… | |
… | |
213 | #endif |
213 | #endif |
214 | |
214 | |
215 | /*****************************************************************************/ |
215 | /*****************************************************************************/ |
216 | |
216 | |
217 | #define EV_VERSION_MAJOR 4 |
217 | #define EV_VERSION_MAJOR 4 |
218 | #define EV_VERSION_MINOR 31 |
218 | #define EV_VERSION_MINOR 32 |
219 | |
219 | |
220 | /* eventmask, revents, events... */ |
220 | /* eventmask, revents, events... */ |
221 | enum { |
221 | enum { |
222 | EV_UNDEF = (int)0xFFFFFFFF, /* guaranteed to be invalid */ |
222 | EV_UNDEF = (int)0xFFFFFFFF, /* guaranteed to be invalid */ |
223 | EV_NONE = 0x00, /* no events */ |
223 | EV_NONE = 0x00, /* no events */ |