File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ typedef struct _zend_async_task_s zend_async_task_t;
183
183
/* Internal context typedefs removed - using direct functions */
184
184
185
185
typedef zend_coroutine_t * (* zend_async_new_coroutine_t )(zend_async_scope_t * scope );
186
- typedef zend_async_scope_t * (* zend_async_new_scope_t )(zend_async_scope_t * parent_scope );
186
+ typedef zend_async_scope_t * (* zend_async_new_scope_t )(zend_async_scope_t * parent_scope , bool with_zend_object );
187
187
typedef zend_coroutine_t * (* zend_async_spawn_t )(zend_async_scope_t * scope , zend_object * scope_provider );
188
188
typedef void (* zend_async_suspend_t )(bool from_main );
189
189
typedef void (* zend_async_enqueue_coroutine_t )(zend_coroutine_t * coroutine );
@@ -1235,7 +1235,8 @@ END_EXTERN_C()
1235
1235
#define ZEND_ASYNC_SPAWN_WITH (scope ) zend_async_spawn_fn(scope, NULL)
1236
1236
#define ZEND_ASYNC_SPAWN_WITH_PROVIDER (scope_provider ) zend_async_spawn_fn(NULL, scope_provider)
1237
1237
#define ZEND_ASYNC_NEW_COROUTINE (scope ) zend_async_new_coroutine_fn(scope)
1238
- #define ZEND_ASYNC_NEW_SCOPE (parent ) zend_async_new_scope_fn(parent)
1238
+ #define ZEND_ASYNC_NEW_SCOPE (parent ) zend_async_new_scope_fn(parent, false)
1239
+ #define ZEND_ASYNC_NEW_SCOPE_WITH_OBJECT (parent ) zend_async_new_scope_fn(parent, true)
1239
1240
#define ZEND_ASYNC_SUSPEND () zend_async_suspend_fn(false)
1240
1241
#define ZEND_ASYNC_RUN_SCHEDULER_AFTER_MAIN () zend_async_suspend_fn(true)
1241
1242
#define ZEND_ASYNC_ENQUEUE_COROUTINE (coroutine ) zend_async_enqueue_coroutine_fn(coroutine)
You can’t perform that action at this time.
0 commit comments