1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Voidify php_com_persist_minit()

This commit is contained in:
George Peter Banyard
2021-09-26 04:14:30 +01:00
parent bc8703d861
commit 68702b7e78
2 changed files with 2 additions and 4 deletions

View File

@@ -714,7 +714,7 @@ static zend_object* helper_new(zend_class_entry *ce)
return &helper->std;
}
int php_com_persist_minit(INIT_FUNC_ARGS)
void php_com_persist_minit(INIT_FUNC_ARGS)
{
memcpy(&helper_handlers, &std_object_handlers, sizeof(helper_handlers));
helper_handlers.free_obj = helper_free_storage;
@@ -725,6 +725,4 @@ int php_com_persist_minit(INIT_FUNC_ARGS)
le_istream = zend_register_list_destructors_ex(istream_dtor,
NULL, "com_dotnet_istream_wrapper", module_number);
return SUCCESS;
}

View File

@@ -107,7 +107,7 @@ PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export_as_sink(zval *val, GUID *si
PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export(zval *val);
/* com_persist.c */
int php_com_persist_minit(INIT_FUNC_ARGS);
void php_com_persist_minit(INIT_FUNC_ARGS);
/* com_variant.c */
PHP_METHOD(variant, __construct);