From 5f975f9cf1bea0a9bafd5c09ef9cb7ed24410eba Mon Sep 17 00:00:00 2001 From: Quim Rovira Date: Sat, 13 Aug 2016 14:30:35 +0200 Subject: [PATCH] Forgot to rename the decoder custom dictionary func --- Brotli.xs | 2 +- lib/IO/Uncompress/Brotli.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2