From 10e02398c9dcd1501db9f585d98b6412fb6570f2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 May 2025 07:06:02 +0200 Subject: update to 0.17.0 --- REFLECTION | 98 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 61 insertions(+), 37 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 2c89b05..a0b546f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #71 brotli version 0.16.0 ] { +Extension [ extension #71 brotli version 0.17.0 ] { - Dependencies { Dependency [ apcu (Optional) ] @@ -9,11 +9,14 @@ Extension [ extension #71 brotli version 0.16.0 ] { Current = '0' } Entry [ brotli.output_compression_level ] - Current = '-1' + Current = '11' + } + Entry [ brotli.output_compression_dict ] + Current = '' } } - - Constants [9] { + - Constants [10] { Constant [ int BROTLI_GENERIC ] { 0 } Constant [ int BROTLI_TEXT ] { 1 } Constant [ int BROTLI_FONT ] { 2 } @@ -23,94 +26,115 @@ Extension [ extension #71 brotli version 0.16.0 ] { Constant [ int BROTLI_PROCESS ] { 0 } Constant [ int BROTLI_FLUSH ] { 1 } Constant [ int BROTLI_FINISH ] { 2 } + Constant [ bool BROTLI_DICTIONARY_SUPPORT ] { 1 } } - Functions { Function [ function brotli_compress ] { - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ $quality = ] - Parameter #2 [ $mode = ] + - Parameters [4] { + Parameter #0 [ string $data ] + Parameter #1 [ int $level = BROTLI_COMPRESS_LEVEL_DEFAULT ] + Parameter #2 [ int $mode = BROTLI_GENERIC ] + Parameter #3 [ ?string $dict = null ] } + - Return [ string|false ] } Function [ function brotli_uncompress ] { - - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $max = ] + - Parameters [3] { + Parameter #0 [ string $data ] + Parameter #1 [ int $length = 0 ] + Parameter #2 [ ?string $dict = null ] } + - Return [ string|false ] } Function [ function Brotli\compress ] { - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ $quality = ] - Parameter #2 [ $mode = ] + - Parameters [4] { + Parameter #0 [ string $data ] + Parameter #1 [ int $level = BROTLI_COMPRESS_LEVEL_DEFAULT ] + Parameter #2 [ int $mode = BROTLI_GENERIC ] + Parameter #3 [ ?string $dict = null ] } + - Return [ string|false ] } Function [ function Brotli\uncompress ] { - - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $max = ] + - Parameters [3] { + Parameter #0 [ string $data ] + Parameter #1 [ int $length = 0 ] + Parameter #2 [ ?string $dict = null ] } + - Return [ string|false ] } Function [ function brotli_compress_init ] { - - Parameters [2] { - Parameter #0 [ $quality = ] - Parameter #1 [ $mode = ] + - Parameters [3] { + Parameter #0 [ int $level = BROTLI_COMPRESS_LEVEL_DEFAULT ] + Parameter #1 [ int $mode = BROTLI_GENERIC ] + Parameter #2 [ ?string $dict = null ] } + - Return [ Brotli\Compress\Context|false ] } Function [ function brotli_compress_add ] { - Parameters [3] { - Parameter #0 [ $context ] - Parameter #1 [ $data ] - Parameter #2 [ $mode = ] + Parameter #0 [ Brotli\Compress\Context $context ] + Parameter #1 [ string $data ] + Parameter #2 [ int $mode = BROTLI_FLUSH ] } + - Return [ string|false ] } Function [ function brotli_uncompress_init ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ ?string $dict = null ] } + - Return [ Brotli\UnCompress\Context|false ] } Function [ function brotli_uncompress_add ] { - Parameters [3] { - Parameter #0 [ $context ] - Parameter #1 [ $data ] - Parameter #2 [ $mode = ] + Parameter #0 [ Brotli\UnCompress\Context $context ] + Parameter #1 [ string $data ] + Parameter #2 [ int $mode = BROTLI_FLUSH ] } + - Return [ string|false ] } Function [ function Brotli\compress_init ] { - - Parameters [2] { - Parameter #0 [ $quality = ] - Parameter #1 [ $mode = ] + - Parameters [3] { + Parameter #0 [ int $level = BROTLI_COMPRESS_LEVEL_DEFAULT ] + Parameter #1 [ int $mode = BROTLI_GENERIC ] + Parameter #2 [ ?string $dict = null ] } + - Return [ Brotli\Compress\Context|false ] } Function [ function Brotli\compress_add ] { - Parameters [3] { - Parameter #0 [ $context ] - Parameter #1 [ $data ] - Parameter #2 [ $mode = ] + Parameter #0 [ Brotli\Compress\Context $context ] + Parameter #1 [ string $data ] + Parameter #2 [ int $mode = BROTLI_FLUSH ] } + - Return [ string|false ] } Function [ function Brotli\uncompress_init ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ ?string $dict = null ] } + - Return [ Brotli\UnCompress\Context|false ] } Function [ function Brotli\uncompress_add ] { - Parameters [3] { - Parameter #0 [ $context ] - Parameter #1 [ $data ] - Parameter #2 [ $mode = ] + Parameter #0 [ Brotli\UnCompress\Context $context ] + Parameter #1 [ string $data ] + Parameter #2 [ int $mode = BROTLI_FLUSH ] } + - Return [ string|false ] } } -- cgit