Alien-WFDB
view release on metacpan or search on metacpan
lib/Alien/WFDB.pm view on Meta::CPAN
package Alien::WFDB;
$Alien::WFDB::VERSION = '0.005';
use strict;
use warnings;
use parent 'Alien::Base';
sub inline_auto_include {
[ 'wfdb.h' ];
}
sub libs {
my ($class) = @_;
join ' ', (
$class->install_type eq 'share' ? ('-L' . File::Spec->catfile($class->dist_dir, qw(lib)) ) : (),
'-lwfdb',
);
}
sub Inline {
my ($self, $lang) = @_;
return unless $_[-1] eq 'C'; # Inline's error message is good
my $params = Alien::Base::Inline(@_);
}
1;
# ABSTRACT: Alien package for the WFDB (WaveForm DataBase) library
__END__
=pod
=encoding UTF-8
=head1 NAME
Alien::WFDB - Alien package for the WFDB (WaveForm DataBase) library
=head1 VERSION
version 0.005
=head1 Inline support
This module supports L<Inline's with functionality|Inline/"Playing 'with' Others">.
=head1 SEE ALSO
L<WFDB|http://physionet.org/physiotools/wfdb.shtml>, L<Bio::Physio::WFDB>
=head1 AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Zakariyya Mughal.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 0.388 second using v1.01-cache-2.11-cpan-8644d7adfcd )