X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=blobdiff_plain;f=Brotli.xs;h=ffbde1e49c6cd6f0e5ac68c422bff6e7c555acdb;hp=2370abbcef9b2df7dcfa86ded4ec306c2dea17f7;hb=c17e7d6329e8a24e6128a9f70e2b597fce1b5b0a;hpb=56bfd9c0a0380461b810f820869768f4e8a7ad4a 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);