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
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);
'Time::HiRes' => '0',
},
BUILD_REQUIRES => {},
- INC => '-Ibrotli/include',
+ INC => '-Ibrotli/c/include',
MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)',
clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' },
META_ADD => {