We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f13eff commit c744531Copy full SHA for c744531
ext/ffi/ffi.c
@@ -926,7 +926,7 @@ static void *zend_ffi_create_callback(zend_ffi_type *type, zval *value) /* {{{ *
926
n++;
927
} ZEND_HASH_FOREACH_END();
928
}
929
- callback_data->ret_type = zend_ffi_get_type(type->func.ret_type);
+ callback_data->ret_type = zend_ffi_get_type(ZEND_FFI_TYPE(type->func.ret_type));
930
if (!callback_data->ret_type) {
931
zend_ffi_return_unsupported(type->func.ret_type);
932
efree(callback_data);
0 commit comments