1 | /* |
1 | /* |
2 | * loop member variable declarations |
2 | * loop member variable declarations |
3 | * |
3 | * |
4 | * Copyright (c) 2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008,2009,2010,2011,2012,2013 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 | * |
… | |
… | |
192 | #if EV_FEATURE_API || EV_GENWRAP |
192 | #if EV_FEATURE_API || EV_GENWRAP |
193 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
193 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
194 | VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ |
194 | VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ |
195 | |
195 | |
196 | VARx(void *, userdata) |
196 | VARx(void *, userdata) |
197 | VAR (release_cb, ev_loop_callback_nothrow release_cb) |
197 | /* C++ doesn't support the ev_loop_callback typedef here. stinks. */ |
198 | VAR (acquire_cb, ev_loop_callback_nothrow acquire_cb) |
198 | VAR (release_cb, void (*release_cb)(EV_P) EV_NOEXCEPT) |
|
|
199 | VAR (acquire_cb, void (*acquire_cb)(EV_P) EV_NOEXCEPT) |
199 | VAR (invoke_cb , ev_loop_callback invoke_cb) |
200 | VAR (invoke_cb , ev_loop_callback invoke_cb) |
200 | #endif |
201 | #endif |
201 | |
202 | |
202 | #undef VARx |
203 | #undef VARx |
203 | |
204 | |