]> iEval git - io-compress-brotli.git/blobdiff - lib/IO/Uncompress/Brotli.pm
Use typemaps instead of manually managing the SVs
[io-compress-brotli.git] / lib / IO / Uncompress / Brotli.pm
index 7cf3bd65bece4e6d5ff61ca5e01963acf4f85f1e..f4230ef2650670b63c7af8c99b94dcc5766aea6c 100644 (file)
@@ -8,33 +8,11 @@ use parent qw/Exporter/;
 our @EXPORT = qw/unbro/;
 our @EXPORT_OK = @EXPORT;
 
-our $VERSION = '0.001';
+our $VERSION = '0.001001';
 
 require XSLoader;
 XSLoader::load('IO::Compress::Brotli', $VERSION);
 
-sub create {
-       my ($class) = @_;
-       my $state = BrotliCreateState();
-       bless \$state, $class
-}
-
-sub DESTROY {
-       my ($self) = @_;
-       BrotliDestroyState($$self)
-}
-
-sub decompress {
-       my ($self, $data) = @_;
-       BrotliDecompressStream($$self, $data)
-}
-
-# Untested, probably not working
-sub set_dictionary {
-       my ($self, $dict) = @_;
-       BrotliSetCustomDictionary($$self, $dict)
-}
-
 1;
 __END__
 
This page took 0.02381 seconds and 4 git commands to generate.