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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user