From 7db5f347837ec10a88789e85ac474c8c918932f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Jan 2022 07:11:50 +0100 Subject: update to 0.8.0 --- PHPINFO | 2 +- REFLECTION | 379 ++++++++++++++++++++++++++++++++++++++++++++++++++++- php-pecl-teds.spec | 5 +- 3 files changed, 378 insertions(+), 8 deletions(-) diff --git a/PHPINFO b/PHPINFO index cbd559e..56952c8 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ teds teds support => enabled -teds version => 0.6.0 +teds version => 0.8.0 diff --git a/REFLECTION b/REFLECTION index e0aeeba..d6d35bd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #99 teds version 0.6.0 ] { +Extension [ extension #99 teds version 0.8.0 ] { - Functions { Function [ function Teds\any ] { @@ -51,6 +51,13 @@ Extension [ extension #99 teds version 0.6.0 ] { } - Return [ mixed ] } + Function [ function Teds\unique_values ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterable ] + } + - Return [ array ] + } Function [ function Teds\array_value_first ] { - Parameters [1] { @@ -80,9 +87,19 @@ Extension [ extension #99 teds version 0.6.0 ] { } - Return [ int ] } + Function [ function Teds\binary_search ] { + + - Parameters [4] { + Parameter #0 [ array $array ] + Parameter #1 [ mixed $target ] + Parameter #2 [ ?callable $comparer = null ] + Parameter #3 [ bool $useKey = false ] + } + - Return [ array ] + } } - - Classes [11] { + - Classes [13] { Class [ final class Teds\Deque implements IteratorAggregate, Traversable, Countable, JsonSerializable, ArrayAccess ] { - Constants [0] { @@ -1141,7 +1158,7 @@ Extension [ extension #99 teds version 0.6.0 ] { } } - Class [ class Teds\StableMinHeap extends SplMinHeap implements Iterator, Traversable, Countable ] { + Class [ class Teds\StableMinHeap extends SplHeap implements Countable, Traversable, Iterator ] { - Constants [0] { } @@ -1156,7 +1173,7 @@ Extension [ extension #99 teds version 0.6.0 ] { } - Methods [14] { - Method [ public method compare ] { + Method [ public method compare ] { - Parameters [2] { Parameter #0 [ mixed $value1 ] @@ -1246,7 +1263,7 @@ Extension [ extension #99 teds version 0.6.0 ] { } } - Class [ class Teds\StableMaxHeap extends SplMinHeap implements Iterator, Traversable, Countable ] { + Class [ class Teds\StableMaxHeap extends SplHeap implements Countable, Traversable, Iterator ] { - Constants [0] { } @@ -1261,7 +1278,7 @@ Extension [ extension #99 teds version 0.6.0 ] { } - Methods [14] { - Method [ public method compare ] { + Method [ public method compare ] { - Parameters [2] { Parameter #0 [ mixed $value1 ] @@ -1351,6 +1368,356 @@ Extension [ extension #99 teds version 0.6.0 ] { } } + Class [ final class Teds\StableSortedListMap implements IteratorAggregate, Traversable, Countable, JsonSerializable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method fromPairs ] { + + - Parameters [1] { + Parameter #0 [ iterable $pairs ] + } + - Return [ Teds\StableSortedListMap ] + } + + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\StableSortedListMap ] + } + } + + - Properties [0] { + } + + - Methods [24] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method isEmpty ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method toPairs ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ public method values ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method keys ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method bottom ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method bottomKey ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method top ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method topKey ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method shift ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ mixed ] + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ bool ] + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ mixed $key ] + Parameter #1 [ mixed $value ] + } + - Return [ void ] + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ void ] + } + + Method [ public method get ] { + + - Parameters [2] { + Parameter #0 [ mixed $key ] + Parameter #1 [ mixed $default = null ] + } + - Return [ mixed ] + } + + Method [ public method containsValue ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method containsKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + + Class [ final class Teds\StableSortedListSet implements IteratorAggregate, Traversable, Countable, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\StableSortedListSet ] + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method isEmpty ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ public method values ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method bottom ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method top ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method shift ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method contains ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method remove ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + Class [ final class Teds\StrictMap implements IteratorAggregate, Traversable, Countable, JsonSerializable, ArrayAccess ] { - Constants [0] { diff --git a/php-pecl-teds.spec b/php-pecl-teds.spec index 686955b..3d849a6 100644 --- a/php-pecl-teds.spec +++ b/php-pecl-teds.spec @@ -19,7 +19,7 @@ %global pecl_name teds %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.6.0 +%global upstream_version 0.8.0 #global upstream_prever a1 Summary: Tentative Extra Data Structures @@ -194,6 +194,9 @@ fi %changelog +* Mon Jan 24 2022 Remi Collet - 0.8.0-1 +- update to 0.8.0 + * Tue Jan 18 2022 Remi Collet - 0.6.0-1 - update to 0.6.0 -- cgit