summaryrefslogtreecommitdiff
path: root/ext/ffi/php_ffi.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-5/+5
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Explicitly declare the char as signed in zend_ffi_val.George Peter Banyard2020-03-261-1/+1
| | | | | This causes issues down the line as char are unsigned on some platforms, e.g. ARM and cause a [-Wtype-limits] warning to be emitted.
* Merge branch 'PHP-7.4'Christoph M. Becker2019-10-291-0/+1
|\ | | | | | | | | * PHP-7.4: Implement #78270: Support __vectorcall convention with FFI
| * Implement #78270: Support __vectorcall convention with FFIChristoph M. Becker2019-10-291-0/+1
| | | | | | | | | | | | | | To work around the limitation of the current rudimentary vectorcall support in our patched libffi, we forbid yet unsupported declarations, i.e. float/double parameters at certain positions (SIMD vector types and HVA types are not supported anyway).
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-10-221-0/+1
|\ \ | |/ | | | | | | * PHP-7.4: Allow loading FFI bindings through ffi.preload directive
| * Allow loading FFI bindings through ffi.preload directiveDmitry Stogov2019-10-221-0/+1
| |
* | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
|/ | | | Closes GH-4732.
* Fixed memory leaks in ext/ffi/tests/100.phpt on Mac OSXDmitry Stogov2019-06-171-1/+1
|
* Partial support for GCC mode attribute.Dmitry Stogov2019-03-291-0/+2
|
* Simplify even more - use PHP_VERSION directlyPeter Kokot2019-02-201-3/+0
|
* Bump FFI extension version to PHP_VERSIONPeter Kokot2019-02-201-0/+3
| | | | This simplifies bumping the FFI extension version.
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Added FFI extensionDmitry Stogov2019-01-141-0/+287