X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=blobdiff_plain;f=Brotli.xs;fp=Brotli.xs;h=ffbde1e49c6cd6f0e5ac68c422bff6e7c555acdb;hp=2370abbcef9b2df7dcfa86ded4ec306c2dea17f7;hb=c610433e12c382ddff0a40cc4d58eb0f75dda2db;hpb=6b0c6c8a277cb2c9f4640aef48ac74ada277aafe diff --git a/Brotli.xs b/Brotli.xs index 2370abb..ffbde1e 100644 --- a/Brotli.xs +++ b/Brotli.xs @@ -88,17 +88,6 @@ decompress(self, in) OUTPUT: RETVAL -void -set_dictionary(self, dict) - IO::Uncompress::Brotli self - SV* dict - PREINIT: - size_t size; - uint8_t *data; - CODE: - data = SvPV(dict, size); - BrotliDecoderSetCustomDictionary(self->decoder, size, data); - MODULE = IO::Compress::Brotli PACKAGE = IO::Compress::Brotli PROTOTYPES: ENABLE @@ -261,14 +250,3 @@ DESTROY(self) CODE: BrotliEncoderDestroyInstance(self->encoder); Safefree(self); - -void -set_dictionary(self, dict) - IO::Compress::Brotli self - SV* dict - PREINIT: - size_t size; - uint8_t *data; - CODE: - data = SvPV(dict, size); - BrotliEncoderSetCustomDictionary(self->encoder, size, data);