|
10 | 10 | | obtain it through the world-wide-web, please send a note to | |
11 | 11 | | [email protected] so we can mail you a copy immediately. | |
12 | 12 | +----------------------------------------------------------------------+ |
13 | | - | Author: Edmond | |
| 13 | + | Author: Edmond <[email protected]> | |
14 | 14 | +----------------------------------------------------------------------+ |
15 | 15 | */ |
16 | 16 | #include "zend_async_API.h" |
@@ -45,11 +45,7 @@ static void enqueue_coroutine(zend_coroutine_t *coroutine) |
45 | 45 | ASYNC_THROW_ERROR("Async API is not enabled"); |
46 | 46 | } |
47 | 47 |
|
48 | | -static void engine_shutdown_stub(void) |
49 | | -{ |
50 | | -} |
51 | | - |
52 | | -static void shutdown_stub(void) |
| 48 | +static void void_stub(void) |
53 | 49 | { |
54 | 50 | } |
55 | 51 |
|
@@ -135,8 +131,8 @@ zend_async_enqueue_coroutine_t zend_async_enqueue_coroutine_fn = enqueue_corouti |
135 | 131 | zend_async_resume_t zend_async_resume_fn = NULL; |
136 | 132 | zend_async_cancel_t zend_async_cancel_fn = NULL; |
137 | 133 | zend_async_spawn_and_throw_t zend_async_spawn_and_throw_fn = spawn_and_throw; |
138 | | -zend_async_shutdown_t zend_async_shutdown_fn = shutdown_stub; |
139 | | -zend_async_engine_shutdown_t zend_async_engine_shutdown_fn = engine_shutdown_stub; |
| 134 | +zend_async_shutdown_t zend_async_shutdown_fn = void_stub; |
| 135 | +zend_async_engine_shutdown_t zend_async_engine_shutdown_fn = void_stub; |
140 | 136 | zend_async_get_coroutines_t zend_async_get_coroutines_fn = get_coroutines_stub; |
141 | 137 | zend_async_add_microtask_t zend_async_add_microtask_fn = add_microtask_stub; |
142 | 138 | zend_async_get_awaiting_info_t zend_async_get_awaiting_info_fn = get_awaiting_info_stub; |
|
0 commit comments