From: Quim Rovira Date: Sat, 13 Aug 2016 12:30:35 +0000 (+0200) Subject: Forgot to rename the decoder custom dictionary func X-Git-Tag: 0.002~32 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=5f975f9cf1bea0a9bafd5c09ef9cb7ed24410eba;hp=ea94b872c10d282002d37289d7479347bb370c51;p=io-compress-brotli.git Forgot to rename the decoder custom dictionary func --- diff --git a/Brotli.xs b/Brotli.xs index b7f33d6..a14b828 100644 --- a/Brotli.xs +++ b/Brotli.xs @@ -69,7 +69,7 @@ SV* BrotliDecoderDecompressStream(state, in) OUTPUT: RETVAL -void BrotliSetCustomDictionary(state, dict) +void BrotliDecoderSetCustomDictionary(state, dict) SV* state SV* dict PREINIT: diff --git a/lib/IO/Uncompress/Brotli.pm b/lib/IO/Uncompress/Brotli.pm index 2f37d8f..f4b8bdb 100644 --- a/lib/IO/Uncompress/Brotli.pm +++ b/lib/IO/Uncompress/Brotli.pm @@ -32,7 +32,7 @@ sub decompress { # Untested, probably not working sub set_dictionary { my ($self, $dict) = @_; - BrotliSetCustomDictionary($$self, $dict) + BrotliDecoderSetCustomDictionary($$self, $dict) } 1;