From f41b62d13380c22932a6ce006bc89bb0ee4780bb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Mar 2020 09:46:36 +0100 Subject: Release 0.4.2 --- REFLECTION | 6 +++--- package.xml | 5 +++-- php_rpminfo.h | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/REFLECTION b/REFLECTION index 9f3b4c6..c5d9c2c 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #94 rpminfo version 0.4.1 ] { +Extension [ extension #15 rpminfo version 0.4.2 ] { - Constants [271] { Constant [ string RPMVERSION ] { 4.15.1 } @@ -278,7 +278,7 @@ Extension [ extension #94 rpminfo version 0.4.1 ] { Function [ function rpmdbinfo ] { - Parameters [2] { - Parameter #0 [ string $name ] + Parameter #0 [ string $nevr ] Parameter #1 [ bool $full ] } - Return [ array or NULL ] @@ -296,7 +296,7 @@ Extension [ extension #94 rpminfo version 0.4.1 ] { Function [ function rpminfo ] { - Parameters [3] { - Parameter #0 [ string $name ] + Parameter #0 [ string $path ] Parameter #1 [ bool $full ] Parameter #2 [ string or NULL &$error ] } diff --git a/package.xml b/package.xml index 4b2ba5c..9dccd48 100644 --- a/package.xml +++ b/package.xml @@ -16,9 +16,9 @@ Available functions: remi@php.net yes - 2020-03-18 + 2020-03-25 - 0.4.2dev + 0.4.2 0.4.0 @@ -27,6 +27,7 @@ Available functions: PHP 3.01 +- improve reflection with better parameter names - speed optimization: open DB only once per request diff --git a/php_rpminfo.h b/php_rpminfo.h index 19add24..49415c2 100644 --- a/php_rpminfo.h +++ b/php_rpminfo.h @@ -22,7 +22,7 @@ extern zend_module_entry rpminfo_module_entry; #define phpext_rpminfo_ptr &rpminfo_module_entry -#define PHP_RPMINFO_VERSION "0.4.2-dev" +#define PHP_RPMINFO_VERSION "0.4.2" #ifdef PHP_WIN32 # define PHP_RPMINFO_API __declspec(dllexport) -- cgit