]> granicus.if.org Git - php/commitdiff
Fix mismatch between macro and struct definition
authorGeorge Peter Banyard <girgias@php.net>
Thu, 3 Sep 2020 11:05:50 +0000 (13:05 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Thu, 3 Sep 2020 12:01:45 +0000 (14:01 +0200)
UPGRADING.INTERNALS
Zend/zend_modules.h

index 301faf16cdcff8a1bf748eb7d2a085f0668a462c..462850993ada9e2d20ea47e81cddceae7c7790f2 100644 (file)
@@ -309,7 +309,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
         - zend_multibyte_set_filter()
         - zend_lex_tstring()
         - _zend_module_entry module_startup_func, module_shutdown_func,
-          request_startup_func, and request_shutdown_func function pointers
+          request_startup_func, request_shutdown_func, and post_deactivate_func function pointers
         - (*zend_encoding_list_parser) typedef
         - (*zend_encoding_internal_encoding_setter) typedef
         - zend_multibyte_set_functions()
index cb64324d38bc781adfbf0180ea6cf70ce106f968..ccd77f9eb68feca785c3786afb0c584c747c01cb 100644 (file)
@@ -91,7 +91,7 @@ struct _zend_module_entry {
 #endif
        void (*globals_ctor)(void *global);
        void (*globals_dtor)(void *global);
-       int (*post_deactivate_func)(void);
+       zend_result (*post_deactivate_func)(void);
        int module_started;
        unsigned char type;
        void *handle;