mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
php8: remove fci.no_separation
This commit is contained in:
parent
0b40ad9f51
commit
8b6e0ec74e
3
php_uv.c
3
php_uv.c
@ -1322,7 +1322,6 @@ static int php_uv_do_callback(zval *retval_ptr, php_uv_cb_t *callback, zval *par
|
|||||||
callback->fci.params = params;
|
callback->fci.params = params;
|
||||||
callback->fci.retval = retval_ptr;
|
callback->fci.retval = retval_ptr;
|
||||||
callback->fci.param_count = param_count;
|
callback->fci.param_count = param_count;
|
||||||
callback->fci.no_separation = 1;
|
|
||||||
|
|
||||||
error = zend_call_function(&callback->fci, &callback->fcc);
|
error = zend_call_function(&callback->fci, &callback->fcc);
|
||||||
} else {
|
} else {
|
||||||
@ -1347,7 +1346,6 @@ static int php_uv_do_callback2(zval *retval_ptr, php_uv_t *uv, zval *params, int
|
|||||||
uv->callback[type]->fci.params = params;
|
uv->callback[type]->fci.params = params;
|
||||||
uv->callback[type]->fci.retval = retval_ptr;
|
uv->callback[type]->fci.retval = retval_ptr;
|
||||||
uv->callback[type]->fci.param_count = param_count;
|
uv->callback[type]->fci.param_count = param_count;
|
||||||
uv->callback[type]->fci.no_separation = 1;
|
|
||||||
|
|
||||||
if (zend_call_function(&uv->callback[type]->fci, &uv->callback[type]->fcc) != SUCCESS) {
|
if (zend_call_function(&uv->callback[type]->fci, &uv->callback[type]->fcc) != SUCCESS) {
|
||||||
error = -1;
|
error = -1;
|
||||||
@ -1413,7 +1411,6 @@ static int php_uv_do_callback3(zval *retval_ptr, php_uv_t *uv, zval *params, int
|
|||||||
uv->callback[type]->fci.params = params;
|
uv->callback[type]->fci.params = params;
|
||||||
uv->callback[type]->fci.retval = retval_ptr;
|
uv->callback[type]->fci.retval = retval_ptr;
|
||||||
uv->callback[type]->fci.param_count = param_count;
|
uv->callback[type]->fci.param_count = param_count;
|
||||||
uv->callback[type]->fci.no_separation = 1;
|
|
||||||
uv->callback[type]->fci.object = NULL;
|
uv->callback[type]->fci.object = NULL;
|
||||||
#if PHP_VERSION_ID >= 70300
|
#if PHP_VERSION_ID >= 70300
|
||||||
uv->callback[type]->fci.size = sizeof(zend_fcall_info);
|
uv->callback[type]->fci.size = sizeof(zend_fcall_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user