Skip to content

Commit 03e32c5

Browse files
committed
% update email
1 parent e6b3181 commit 03e32c5

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

Zend/zend_async_API.c

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| obtain it through the world-wide-web, please send a note to |
1111
| license@php.net so we can mail you a copy immediately. |
1212
+----------------------------------------------------------------------+
13-
| Author: Edmond |
13+
| Author: Edmond <edmondifthen@proton.me> |
1414
+----------------------------------------------------------------------+
1515
*/
1616
#include "zend_async_API.h"
@@ -45,11 +45,7 @@ static void enqueue_coroutine(zend_coroutine_t *coroutine)
4545
ASYNC_THROW_ERROR("Async API is not enabled");
4646
}
4747

48-
static void engine_shutdown_stub(void)
49-
{
50-
}
51-
52-
static void shutdown_stub(void)
48+
static void void_stub(void)
5349
{
5450
}
5551

@@ -135,8 +131,8 @@ zend_async_enqueue_coroutine_t zend_async_enqueue_coroutine_fn = enqueue_corouti
135131
zend_async_resume_t zend_async_resume_fn = NULL;
136132
zend_async_cancel_t zend_async_cancel_fn = NULL;
137133
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;
140136
zend_async_get_coroutines_t zend_async_get_coroutines_fn = get_coroutines_stub;
141137
zend_async_add_microtask_t zend_async_add_microtask_fn = add_microtask_stub;
142138
zend_async_get_awaiting_info_t zend_async_get_awaiting_info_fn = get_awaiting_info_stub;

Zend/zend_async_API.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| obtain it through the world-wide-web, please send a note to |
1111
| license@php.net so we can mail you a copy immediately. |
1212
+----------------------------------------------------------------------+
13-
| Author: Edmond |
13+
| Author: Edmond <edmondifthen@proton.me> |
1414
+----------------------------------------------------------------------+
1515
*/
1616
#ifndef ZEND_ASYNC_API_H

0 commit comments

Comments
 (0)