php-src/ext/ffi
DanielEScherzer 53cb89670c
Generated arginfo header files: remove empty zend_function_entry arrays (#15705)
When a class (or enum) has no methods, rather than using an array that only
contains `ZEND_FE_END`, use `NULL` for the functions. The implementation of
class registration for internal classes, `do_register_internal_class()` in
zend_API.c, already skips classes where the functions are `NULL`. By removing
these unneeded arrays, we can reduce the size of the header files, while also
removing an unneeded call to zend_register_functions() for each internal class
with no extra methods.
2024-09-03 23:19:53 +02:00
..
tests [skip ci] Fix typos in XFAIL reasons 2024-08-22 11:48:46 +02:00
config.m4 Sync HAVE_<extension> help texts (#15167) 2024-08-02 01:41:47 +02:00
config.w32 Sync preprocessor macros help texts (#15218) 2024-08-04 12:52:16 +02:00
CREDITS
ffi_arginfo.h Generated arginfo header files: remove empty zend_function_entry arrays (#15705) 2024-09-03 23:19:53 +02:00
ffi_parser.c Fix GH-14286 (ffi enum type (when enum has no name) make memory leak) 2024-07-22 17:44:47 +02:00
ffi.c Lazy objects 2024-08-30 17:30:03 +02:00
ffi.g Fix GH-14286 (ffi enum type (when enum has no name) make memory leak) 2024-07-22 17:44:47 +02:00
ffi.stub.php Fix class constant and property ID generation for the manual (#14249) 2024-05-17 20:30:16 +02:00
php_ffi.h Fix GH-14286 (ffi enum type (when enum has no name) make memory leak) 2024-07-22 17:44:47 +02:00