]> 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 77e8b69293bc11b6a5f269fa5fa49e9206a02d54..f4230ef2650670b63c7af8c99b94dcc5766aea6c 100644 (file)
@@ -13,28 +13,6 @@ 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.017066 seconds and 4 git commands to generate.