Migrate 3 functions in the *.pm to *.xs
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 17 Aug 2016 10:24:53 +0000 (10:24 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 17 Aug 2016 10:31:31 +0000 (10:31 +0000)
commit0cea41a5720ced6122c74ae242472012afe06c28
treee288d98edcfe817d722307845d03edb9a14e020a
parent498a11cd399820ed3546a3d6721b3bc50592f023
Migrate 3 functions in the *.pm to *.xs

This is a bit more verbose, and transition back & forth between perl &
C types in e.g. perl -> compress -> _compress is a bit silly, ideally
"compress" would just call a shared C function.

But this is just an as-is port of what it's doing now which avoids
hardcoding library constants in the *.pm, this could also be done with
ExtUtils::Constant, but whatever.

This leaves the mode() function unported, but it's not used
anywhere (WIP code?) and in any case could also be easily ported over.
Brotli.xs
lib/IO/Compress/Brotli.pm
This page took 0.010865 seconds and 4 git commands to generate.