com php-src: Bump FFI extension version to PHP_VERSION: e xt/ffi/ffi.c ext/ffi/php_ffi.h

From: Date: Wed, 20 Feb 2019 06:32:42 +0000
Subject: com php-src: Bump FFI extension version to PHP_VERSION: e xt/ffi/ffi.c ext/ffi/php_ffi.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104764@lists.php.net to get a copy of this message
Commit: e5fe8ad6e56336d1071e84a8f5a38487a54e0491 Author: Peter Kokot <peterkokot@gmail.com> Mon, 18 Feb 2019 22:11:12 +0100 Committer: Dmitry Stogov <dmitry@zend.com> Wed, 20 Feb 2019 09:32:42 +0300 Parents: 7317de59ecd62353bbb3c16ecdba53f645792994 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e5fe8ad6e56336d1071e84a8f5a38487a54e0491 Log: Bump FFI extension version to PHP_VERSION This simplifies bumping the FFI extension version. Changed paths: M ext/ffi/ffi.c M ext/ffi/php_ffi.h Diff: diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c index 9188ccc..bda2997 100644 --- a/ext/ffi/ffi.c +++ b/ext/ffi/ffi.c @@ -4670,8 +4670,6 @@ ZEND_MINFO_FUNCTION(ffi) } /* }}} */ -#define ZEND_FFI_VERSION "0.1.0" - static const zend_ffi_type zend_ffi_type_void = {.kind=ZEND_FFI_TYPE_VOID, .size=1, .align=1}; static const zend_ffi_type zend_ffi_type_char = {.kind=ZEND_FFI_TYPE_CHAR, .size=1, .align=_Alignof(char)}; static const zend_ffi_type zend_ffi_type_bool = {.kind=ZEND_FFI_TYPE_BOOL, .size=1, .align=_Alignof(uint8_t)}; diff --git a/ext/ffi/php_ffi.h b/ext/ffi/php_ffi.h index 35b5127..637c064 100644 --- a/ext/ffi/php_ffi.h +++ b/ext/ffi/php_ffi.h @@ -19,6 +19,9 @@ #ifndef PHP_FFI_H #define PHP_FFI_H +#include "php_version.h" +#define ZEND_FFI_VERSION PHP_VERSION + extern zend_module_entry ffi_module_entry; #define phpext_ffi_ptr &ffi_module_entry

« previous php.cvs (#104764) next »